@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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3
|
+
var require_util_contains_newline = /* @__PURE__ */ require("../../../../../../../_virtual/_rolldown/runtime.js").__commonJSMin(((exports) => {
|
|
4
|
+
function containsNewline(key) {
|
|
5
|
+
if (!key) return null;
|
|
6
|
+
switch (key.type) {
|
|
7
|
+
case "alias":
|
|
8
|
+
case "scalar":
|
|
9
|
+
case "double-quoted-scalar":
|
|
10
|
+
case "single-quoted-scalar":
|
|
11
|
+
if (key.source.includes("\n")) return true;
|
|
12
|
+
if (key.end) {
|
|
13
|
+
for (const st of key.end) if (st.type === "newline") return true;
|
|
14
|
+
}
|
|
15
|
+
return false;
|
|
16
|
+
case "flow-collection":
|
|
17
|
+
for (const it of key.items) {
|
|
18
|
+
for (const st of it.start) if (st.type === "newline") return true;
|
|
19
|
+
if (it.sep) {
|
|
20
|
+
for (const st of it.sep) if (st.type === "newline") return true;
|
|
21
|
+
}
|
|
22
|
+
if (containsNewline(it.key) || containsNewline(it.value)) return true;
|
|
23
|
+
}
|
|
24
|
+
return false;
|
|
25
|
+
default: return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.containsNewline = containsNewline;
|
|
29
|
+
}));
|
|
30
|
+
//#endregion
|
|
31
|
+
Object.defineProperty(exports, "default", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function() {
|
|
34
|
+
return require_util_contains_newline();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=util-contains-newline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util-contains-newline.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js"],"sourcesContent":["'use strict';\n\nfunction containsNewline(key) {\n if (!key)\n return null;\n switch (key.type) {\n case 'alias':\n case 'scalar':\n case 'double-quoted-scalar':\n case 'single-quoted-scalar':\n if (key.source.includes('\\n'))\n return true;\n if (key.end)\n for (const st of key.end)\n if (st.type === 'newline')\n return true;\n return false;\n case 'flow-collection':\n for (const it of key.items) {\n for (const st of it.start)\n if (st.type === 'newline')\n return true;\n if (it.sep)\n for (const st of it.sep)\n if (st.type === 'newline')\n return true;\n if (containsNewline(it.key) || containsNewline(it.value))\n return true;\n }\n return false;\n default:\n return true;\n }\n}\n\nexports.containsNewline = containsNewline;\n"],"x_google_ignoreList":[0],"mappings":";;;CAEA,SAAS,gBAAgB,KAAK;EAC1B,IAAI,CAAC,KACD,OAAO;EACX,QAAQ,IAAI,MAAZ;GACI,KAAK;GACL,KAAK;GACL,KAAK;GACL,KAAK;IACD,IAAI,IAAI,OAAO,SAAS,IAAI,GACxB,OAAO;IACX,IAAI,IAAI;UACC,MAAM,MAAM,IAAI,KACjB,IAAI,GAAG,SAAS,WACZ,OAAO;IAAA;IACnB,OAAO;GACX,KAAK;IACD,KAAK,MAAM,MAAM,IAAI,OAAO;KACxB,KAAK,MAAM,MAAM,GAAG,OAChB,IAAI,GAAG,SAAS,WACZ,OAAO;KACf,IAAI,GAAG;WACE,MAAM,MAAM,GAAG,KAChB,IAAI,GAAG,SAAS,WACZ,OAAO;KAAA;KACnB,IAAI,gBAAgB,GAAG,GAAG,KAAK,gBAAgB,GAAG,KAAK,GACnD,OAAO;IACf;IACA,OAAO;GACX,SACI,OAAO;EACf;CACJ;CAEA,QAAQ,kBAAkB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
3
|
+
var require_util_empty_scalar_position = /* @__PURE__ */ require("../../../../../../../_virtual/_rolldown/runtime.js").__commonJSMin(((exports) => {
|
|
4
|
+
function emptyScalarPosition(offset, before, pos) {
|
|
5
|
+
if (before) {
|
|
6
|
+
pos ?? (pos = before.length);
|
|
7
|
+
for (let i = pos - 1; i >= 0; --i) {
|
|
8
|
+
let st = before[i];
|
|
9
|
+
switch (st.type) {
|
|
10
|
+
case "space":
|
|
11
|
+
case "comment":
|
|
12
|
+
case "newline":
|
|
13
|
+
offset -= st.source.length;
|
|
14
|
+
continue;
|
|
15
|
+
}
|
|
16
|
+
st = before[++i];
|
|
17
|
+
while (st?.type === "space") {
|
|
18
|
+
offset += st.source.length;
|
|
19
|
+
st = before[++i];
|
|
20
|
+
}
|
|
21
|
+
break;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return offset;
|
|
25
|
+
}
|
|
26
|
+
exports.emptyScalarPosition = emptyScalarPosition;
|
|
27
|
+
}));
|
|
28
|
+
//#endregion
|
|
29
|
+
Object.defineProperty(exports, "default", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function() {
|
|
32
|
+
return require_util_empty_scalar_position();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=util-empty-scalar-position.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util-empty-scalar-position.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"],"sourcesContent":["'use strict';\n\nfunction emptyScalarPosition(offset, before, pos) {\n if (before) {\n pos ?? (pos = before.length);\n for (let i = pos - 1; i >= 0; --i) {\n let st = before[i];\n switch (st.type) {\n case 'space':\n case 'comment':\n case 'newline':\n offset -= st.source.length;\n continue;\n }\n // Technically, an empty scalar is immediately after the last non-empty\n // node, but it's more useful to place it after any whitespace.\n st = before[++i];\n while (st?.type === 'space') {\n offset += st.source.length;\n st = before[++i];\n }\n break;\n }\n }\n return offset;\n}\n\nexports.emptyScalarPosition = emptyScalarPosition;\n"],"x_google_ignoreList":[0],"mappings":";;;CAEA,SAAS,oBAAoB,QAAQ,QAAQ,KAAK;EAC9C,IAAI,QAAQ;GACR,QAAQ,MAAM,OAAO;GACrB,KAAK,IAAI,IAAI,MAAM,GAAG,KAAK,GAAG,EAAE,GAAG;IAC/B,IAAI,KAAK,OAAO;IAChB,QAAQ,GAAG,MAAX;KACI,KAAK;KACL,KAAK;KACL,KAAK;MACD,UAAU,GAAG,OAAO;MACpB;IACR;IAGA,KAAK,OAAO,EAAE;IACd,OAAO,IAAI,SAAS,SAAS;KACzB,UAAU,GAAG,OAAO;KACpB,KAAK,OAAO,EAAE;IAClB;IACA;GACJ;EACJ;EACA,OAAO;CACX;CAEA,QAAQ,sBAAsB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_util_contains_newline$1 = require("./util-contains-newline.js");
|
|
4
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
5
|
+
var require_util_flow_indent_check = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
6
|
+
var utilContainsNewline = require_util_contains_newline$1.default;
|
|
7
|
+
function flowIndentCheck(indent, fc, onError) {
|
|
8
|
+
if (fc?.type === "flow-collection") {
|
|
9
|
+
const end = fc.end[0];
|
|
10
|
+
if (end.indent === indent && (end.source === "]" || end.source === "}") && utilContainsNewline.containsNewline(fc)) onError(end, "BAD_INDENT", "Flow end indicator should be more indented than parent", true);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.flowIndentCheck = flowIndentCheck;
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, "default", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return require_util_flow_indent_check();
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=util-flow-indent-check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util-flow-indent-check.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"],"sourcesContent":["'use strict';\n\nvar utilContainsNewline = require('./util-contains-newline.js');\n\nfunction flowIndentCheck(indent, fc, onError) {\n if (fc?.type === 'flow-collection') {\n const end = fc.end[0];\n if (end.indent === indent &&\n (end.source === ']' || end.source === '}') &&\n utilContainsNewline.containsNewline(fc)) {\n const msg = 'Flow end indicator should be more indented than parent';\n onError(end, 'BAD_INDENT', msg, true);\n }\n }\n}\n\nexports.flowIndentCheck = flowIndentCheck;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,IAAI,sBAAA,gCAAA;CAEJ,SAAS,gBAAgB,QAAQ,IAAI,SAAS;EAC1C,IAAI,IAAI,SAAS,mBAAmB;GAChC,MAAM,MAAM,GAAG,IAAI;GACnB,IAAI,IAAI,WAAW,WACd,IAAI,WAAW,OAAO,IAAI,WAAW,QACtC,oBAAoB,gBAAgB,EAAE,GAEtC,QAAQ,KAAK,cAAc,0DAAK,IAAI;EAE5C;CACJ;CAEA,QAAQ,kBAAkB"}
|
package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_identity$1 = require("../nodes/identity.js");
|
|
4
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
5
|
+
var require_util_map_includes = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
6
|
+
var identity = require_identity$1.default;
|
|
7
|
+
function mapIncludes(ctx, items, search) {
|
|
8
|
+
const { uniqueKeys } = ctx.options;
|
|
9
|
+
if (uniqueKeys === false) return false;
|
|
10
|
+
const isEqual = typeof uniqueKeys === "function" ? uniqueKeys : (a, b) => a === b || identity.isScalar(a) && identity.isScalar(b) && a.value === b.value;
|
|
11
|
+
return items.some((pair) => isEqual(pair.key, search));
|
|
12
|
+
}
|
|
13
|
+
exports.mapIncludes = mapIncludes;
|
|
14
|
+
}));
|
|
15
|
+
//#endregion
|
|
16
|
+
Object.defineProperty(exports, "default", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return require_util_map_includes();
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=util-map-includes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"util-map-includes.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js"],"sourcesContent":["'use strict';\n\nvar identity = require('../nodes/identity.js');\n\nfunction mapIncludes(ctx, items, search) {\n const { uniqueKeys } = ctx.options;\n if (uniqueKeys === false)\n return false;\n const isEqual = typeof uniqueKeys === 'function'\n ? uniqueKeys\n : (a, b) => a === b || (identity.isScalar(a) && identity.isScalar(b) && a.value === b.value);\n return items.some(pair => isEqual(pair.key, search));\n}\n\nexports.mapIncludes = mapIncludes;\n"],"x_google_ignoreList":[0],"mappings":";;;;;CAEA,IAAI,WAAA,mBAAA;CAEJ,SAAS,YAAY,KAAK,OAAO,QAAQ;EACrC,MAAM,EAAE,eAAe,IAAI;EAC3B,IAAI,eAAe,OACf,OAAO;EACX,MAAM,UAAU,OAAO,eAAe,aAChC,cACC,GAAG,MAAM,MAAM,KAAM,SAAS,SAAS,CAAC,KAAK,SAAS,SAAS,CAAC,KAAK,EAAE,UAAU,EAAE;EAC1F,OAAO,MAAM,MAAK,SAAQ,QAAQ,KAAK,KAAK,MAAM,CAAC;CACvD;CAEA,QAAQ,cAAc"}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_identity$1 = require("../nodes/identity.js");
|
|
4
|
+
const require_directives$1 = require("./directives.js");
|
|
5
|
+
const require_anchors$1 = require("./anchors.js");
|
|
6
|
+
const require_applyReviver$1 = require("./applyReviver.js");
|
|
7
|
+
const require_toJS$1 = require("../nodes/toJS.js");
|
|
8
|
+
const require_Alias$1 = require("../nodes/Alias.js");
|
|
9
|
+
const require_createNode$1 = require("./createNode.js");
|
|
10
|
+
const require_Collection$1 = require("../nodes/Collection.js");
|
|
11
|
+
const require_Pair$1 = require("../nodes/Pair.js");
|
|
12
|
+
const require_Schema$1 = require("../schema/Schema.js");
|
|
13
|
+
const require_stringifyDocument$1 = require("../stringify/stringifyDocument.js");
|
|
14
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js
|
|
15
|
+
var require_Document = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
16
|
+
var Alias = require_Alias$1.default;
|
|
17
|
+
var Collection = require_Collection$1.default;
|
|
18
|
+
var identity = require_identity$1.default;
|
|
19
|
+
var Pair = require_Pair$1.default;
|
|
20
|
+
var toJS = require_toJS$1.default;
|
|
21
|
+
var Schema = require_Schema$1.default;
|
|
22
|
+
var stringifyDocument = require_stringifyDocument$1.default;
|
|
23
|
+
var anchors = require_anchors$1.default;
|
|
24
|
+
var applyReviver = require_applyReviver$1.default;
|
|
25
|
+
var createNode = require_createNode$1.default;
|
|
26
|
+
var directives = require_directives$1.default;
|
|
27
|
+
var Document = class Document {
|
|
28
|
+
constructor(value, replacer, options) {
|
|
29
|
+
/** A comment before this Document */
|
|
30
|
+
this.commentBefore = null;
|
|
31
|
+
/** A comment immediately after this Document */
|
|
32
|
+
this.comment = null;
|
|
33
|
+
/** Errors encountered during parsing. */
|
|
34
|
+
this.errors = [];
|
|
35
|
+
/** Warnings encountered during parsing. */
|
|
36
|
+
this.warnings = [];
|
|
37
|
+
Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });
|
|
38
|
+
let _replacer = null;
|
|
39
|
+
if (typeof replacer === "function" || Array.isArray(replacer)) _replacer = replacer;
|
|
40
|
+
else if (options === void 0 && replacer) {
|
|
41
|
+
options = replacer;
|
|
42
|
+
replacer = void 0;
|
|
43
|
+
}
|
|
44
|
+
const opt = Object.assign({
|
|
45
|
+
intAsBigInt: false,
|
|
46
|
+
keepSourceTokens: false,
|
|
47
|
+
logLevel: "warn",
|
|
48
|
+
prettyErrors: true,
|
|
49
|
+
strict: true,
|
|
50
|
+
stringKeys: false,
|
|
51
|
+
uniqueKeys: true,
|
|
52
|
+
version: "1.2"
|
|
53
|
+
}, options);
|
|
54
|
+
this.options = opt;
|
|
55
|
+
let { version } = opt;
|
|
56
|
+
if (options?._directives) {
|
|
57
|
+
this.directives = options._directives.atDocument();
|
|
58
|
+
if (this.directives.yaml.explicit) version = this.directives.yaml.version;
|
|
59
|
+
} else this.directives = new directives.Directives({ version });
|
|
60
|
+
this.setSchema(version, options);
|
|
61
|
+
this.contents = value === void 0 ? null : this.createNode(value, _replacer, options);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Create a deep copy of this Document and its contents.
|
|
65
|
+
*
|
|
66
|
+
* Custom Node values that inherit from `Object` still refer to their original instances.
|
|
67
|
+
*/
|
|
68
|
+
clone() {
|
|
69
|
+
const copy = Object.create(Document.prototype, { [identity.NODE_TYPE]: { value: identity.DOC } });
|
|
70
|
+
copy.commentBefore = this.commentBefore;
|
|
71
|
+
copy.comment = this.comment;
|
|
72
|
+
copy.errors = this.errors.slice();
|
|
73
|
+
copy.warnings = this.warnings.slice();
|
|
74
|
+
copy.options = Object.assign({}, this.options);
|
|
75
|
+
if (this.directives) copy.directives = this.directives.clone();
|
|
76
|
+
copy.schema = this.schema.clone();
|
|
77
|
+
copy.contents = identity.isNode(this.contents) ? this.contents.clone(copy.schema) : this.contents;
|
|
78
|
+
if (this.range) copy.range = this.range.slice();
|
|
79
|
+
return copy;
|
|
80
|
+
}
|
|
81
|
+
/** Adds a value to the document. */
|
|
82
|
+
add(value) {
|
|
83
|
+
if (assertCollection(this.contents)) this.contents.add(value);
|
|
84
|
+
}
|
|
85
|
+
/** Adds a value to the document. */
|
|
86
|
+
addIn(path, value) {
|
|
87
|
+
if (assertCollection(this.contents)) this.contents.addIn(path, value);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Create a new `Alias` node, ensuring that the target `node` has the required anchor.
|
|
91
|
+
*
|
|
92
|
+
* If `node` already has an anchor, `name` is ignored.
|
|
93
|
+
* Otherwise, the `node.anchor` value will be set to `name`,
|
|
94
|
+
* or if an anchor with that name is already present in the document,
|
|
95
|
+
* `name` will be used as a prefix for a new unique anchor.
|
|
96
|
+
* If `name` is undefined, the generated anchor will use 'a' as a prefix.
|
|
97
|
+
*/
|
|
98
|
+
createAlias(node, name) {
|
|
99
|
+
if (!node.anchor) {
|
|
100
|
+
const prev = anchors.anchorNames(this);
|
|
101
|
+
node.anchor = !name || prev.has(name) ? anchors.findNewAnchor(name || "a", prev) : name;
|
|
102
|
+
}
|
|
103
|
+
return new Alias.Alias(node.anchor);
|
|
104
|
+
}
|
|
105
|
+
createNode(value, replacer, options) {
|
|
106
|
+
let _replacer = void 0;
|
|
107
|
+
if (typeof replacer === "function") {
|
|
108
|
+
value = replacer.call({ "": value }, "", value);
|
|
109
|
+
_replacer = replacer;
|
|
110
|
+
} else if (Array.isArray(replacer)) {
|
|
111
|
+
const keyToStr = (v) => typeof v === "number" || v instanceof String || v instanceof Number;
|
|
112
|
+
const asStr = replacer.filter(keyToStr).map(String);
|
|
113
|
+
if (asStr.length > 0) replacer = replacer.concat(asStr);
|
|
114
|
+
_replacer = replacer;
|
|
115
|
+
} else if (options === void 0 && replacer) {
|
|
116
|
+
options = replacer;
|
|
117
|
+
replacer = void 0;
|
|
118
|
+
}
|
|
119
|
+
const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag } = options ?? {};
|
|
120
|
+
const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors(this, anchorPrefix || "a");
|
|
121
|
+
const ctx = {
|
|
122
|
+
aliasDuplicateObjects: aliasDuplicateObjects ?? true,
|
|
123
|
+
keepUndefined: keepUndefined ?? false,
|
|
124
|
+
onAnchor,
|
|
125
|
+
onTagObj,
|
|
126
|
+
replacer: _replacer,
|
|
127
|
+
schema: this.schema,
|
|
128
|
+
sourceObjects
|
|
129
|
+
};
|
|
130
|
+
const node = createNode.createNode(value, tag, ctx);
|
|
131
|
+
if (flow && identity.isCollection(node)) node.flow = true;
|
|
132
|
+
setAnchors();
|
|
133
|
+
return node;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Convert a key and a value into a `Pair` using the current schema,
|
|
137
|
+
* recursively wrapping all values as `Scalar` or `Collection` nodes.
|
|
138
|
+
*/
|
|
139
|
+
createPair(key, value, options = {}) {
|
|
140
|
+
const k = this.createNode(key, null, options);
|
|
141
|
+
const v = this.createNode(value, null, options);
|
|
142
|
+
return new Pair.Pair(k, v);
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Removes a value from the document.
|
|
146
|
+
* @returns `true` if the item was found and removed.
|
|
147
|
+
*/
|
|
148
|
+
delete(key) {
|
|
149
|
+
return assertCollection(this.contents) ? this.contents.delete(key) : false;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Removes a value from the document.
|
|
153
|
+
* @returns `true` if the item was found and removed.
|
|
154
|
+
*/
|
|
155
|
+
deleteIn(path) {
|
|
156
|
+
if (Collection.isEmptyPath(path)) {
|
|
157
|
+
if (this.contents == null) return false;
|
|
158
|
+
this.contents = null;
|
|
159
|
+
return true;
|
|
160
|
+
}
|
|
161
|
+
return assertCollection(this.contents) ? this.contents.deleteIn(path) : false;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Returns item at `key`, or `undefined` if not found. By default unwraps
|
|
165
|
+
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
166
|
+
* `true` (collections are always returned intact).
|
|
167
|
+
*/
|
|
168
|
+
get(key, keepScalar) {
|
|
169
|
+
return identity.isCollection(this.contents) ? this.contents.get(key, keepScalar) : void 0;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Returns item at `path`, or `undefined` if not found. By default unwraps
|
|
173
|
+
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
174
|
+
* `true` (collections are always returned intact).
|
|
175
|
+
*/
|
|
176
|
+
getIn(path, keepScalar) {
|
|
177
|
+
if (Collection.isEmptyPath(path)) return !keepScalar && identity.isScalar(this.contents) ? this.contents.value : this.contents;
|
|
178
|
+
return identity.isCollection(this.contents) ? this.contents.getIn(path, keepScalar) : void 0;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Checks if the document includes a value with the key `key`.
|
|
182
|
+
*/
|
|
183
|
+
has(key) {
|
|
184
|
+
return identity.isCollection(this.contents) ? this.contents.has(key) : false;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Checks if the document includes a value at `path`.
|
|
188
|
+
*/
|
|
189
|
+
hasIn(path) {
|
|
190
|
+
if (Collection.isEmptyPath(path)) return this.contents !== void 0;
|
|
191
|
+
return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
195
|
+
* boolean to add/remove the item from the set.
|
|
196
|
+
*/
|
|
197
|
+
set(key, value) {
|
|
198
|
+
if (this.contents == null) this.contents = Collection.collectionFromPath(this.schema, [key], value);
|
|
199
|
+
else if (assertCollection(this.contents)) this.contents.set(key, value);
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Sets a value in this document. For `!!set`, `value` needs to be a
|
|
203
|
+
* boolean to add/remove the item from the set.
|
|
204
|
+
*/
|
|
205
|
+
setIn(path, value) {
|
|
206
|
+
if (Collection.isEmptyPath(path)) this.contents = value;
|
|
207
|
+
else if (this.contents == null) this.contents = Collection.collectionFromPath(this.schema, Array.from(path), value);
|
|
208
|
+
else if (assertCollection(this.contents)) this.contents.setIn(path, value);
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Change the YAML version and schema used by the document.
|
|
212
|
+
* A `null` version disables support for directives, explicit tags, anchors, and aliases.
|
|
213
|
+
* It also requires the `schema` option to be given as a `Schema` instance value.
|
|
214
|
+
*
|
|
215
|
+
* Overrides all previously set schema options.
|
|
216
|
+
*/
|
|
217
|
+
setSchema(version, options = {}) {
|
|
218
|
+
if (typeof version === "number") version = String(version);
|
|
219
|
+
let opt;
|
|
220
|
+
switch (version) {
|
|
221
|
+
case "1.1":
|
|
222
|
+
if (this.directives) this.directives.yaml.version = "1.1";
|
|
223
|
+
else this.directives = new directives.Directives({ version: "1.1" });
|
|
224
|
+
opt = {
|
|
225
|
+
resolveKnownTags: false,
|
|
226
|
+
schema: "yaml-1.1"
|
|
227
|
+
};
|
|
228
|
+
break;
|
|
229
|
+
case "1.2":
|
|
230
|
+
case "next":
|
|
231
|
+
if (this.directives) this.directives.yaml.version = version;
|
|
232
|
+
else this.directives = new directives.Directives({ version });
|
|
233
|
+
opt = {
|
|
234
|
+
resolveKnownTags: true,
|
|
235
|
+
schema: "core"
|
|
236
|
+
};
|
|
237
|
+
break;
|
|
238
|
+
case null:
|
|
239
|
+
if (this.directives) delete this.directives;
|
|
240
|
+
opt = null;
|
|
241
|
+
break;
|
|
242
|
+
default: {
|
|
243
|
+
const sv = JSON.stringify(version);
|
|
244
|
+
throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
if (options.schema instanceof Object) this.schema = options.schema;
|
|
248
|
+
else if (opt) this.schema = new Schema.Schema(Object.assign(opt, options));
|
|
249
|
+
else throw new Error(`With a null YAML version, the { schema: Schema } option is required`);
|
|
250
|
+
}
|
|
251
|
+
toJS({ json, jsonArg, mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
|
|
252
|
+
const ctx = {
|
|
253
|
+
anchors: /* @__PURE__ */ new Map(),
|
|
254
|
+
doc: this,
|
|
255
|
+
keep: !json,
|
|
256
|
+
mapAsMap: mapAsMap === true,
|
|
257
|
+
mapKeyWarned: false,
|
|
258
|
+
maxAliasCount: typeof maxAliasCount === "number" ? maxAliasCount : 100
|
|
259
|
+
};
|
|
260
|
+
const res = toJS.toJS(this.contents, jsonArg ?? "", ctx);
|
|
261
|
+
if (typeof onAnchor === "function") for (const { count, res } of ctx.anchors.values()) onAnchor(res, count);
|
|
262
|
+
return typeof reviver === "function" ? applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* A JSON representation of the document `contents`.
|
|
266
|
+
*
|
|
267
|
+
* @param jsonArg Used by `JSON.stringify` to indicate the array index or
|
|
268
|
+
* property name.
|
|
269
|
+
*/
|
|
270
|
+
toJSON(jsonArg, onAnchor) {
|
|
271
|
+
return this.toJS({
|
|
272
|
+
json: true,
|
|
273
|
+
jsonArg,
|
|
274
|
+
mapAsMap: false,
|
|
275
|
+
onAnchor
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
/** A YAML representation of the document. */
|
|
279
|
+
toString(options = {}) {
|
|
280
|
+
if (this.errors.length > 0) throw new Error("Document with errors cannot be stringified");
|
|
281
|
+
if ("indent" in options && (!Number.isInteger(options.indent) || Number(options.indent) <= 0)) {
|
|
282
|
+
const s = JSON.stringify(options.indent);
|
|
283
|
+
throw new Error(`"indent" option must be a positive integer, not ${s}`);
|
|
284
|
+
}
|
|
285
|
+
return stringifyDocument.stringifyDocument(this, options);
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
function assertCollection(contents) {
|
|
289
|
+
if (identity.isCollection(contents)) return true;
|
|
290
|
+
throw new Error("Expected a YAML collection as document contents");
|
|
291
|
+
}
|
|
292
|
+
exports.Document = Document;
|
|
293
|
+
}));
|
|
294
|
+
//#endregion
|
|
295
|
+
Object.defineProperty(exports, "default", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function() {
|
|
298
|
+
return require_Document();
|
|
299
|
+
}
|
|
300
|
+
});
|
|
301
|
+
|
|
302
|
+
//# sourceMappingURL=Document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Document.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js"],"sourcesContent":["'use strict';\n\nvar Alias = require('../nodes/Alias.js');\nvar Collection = require('../nodes/Collection.js');\nvar identity = require('../nodes/identity.js');\nvar Pair = require('../nodes/Pair.js');\nvar toJS = require('../nodes/toJS.js');\nvar Schema = require('../schema/Schema.js');\nvar stringifyDocument = require('../stringify/stringifyDocument.js');\nvar anchors = require('./anchors.js');\nvar applyReviver = require('./applyReviver.js');\nvar createNode = require('./createNode.js');\nvar directives = require('./directives.js');\n\nclass Document {\n constructor(value, replacer, options) {\n /** A comment before this Document */\n this.commentBefore = null;\n /** A comment immediately after this Document */\n this.comment = null;\n /** Errors encountered during parsing. */\n this.errors = [];\n /** Warnings encountered during parsing. */\n this.warnings = [];\n Object.defineProperty(this, identity.NODE_TYPE, { value: identity.DOC });\n let _replacer = null;\n if (typeof replacer === 'function' || Array.isArray(replacer)) {\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const opt = Object.assign({\n intAsBigInt: false,\n keepSourceTokens: false,\n logLevel: 'warn',\n prettyErrors: true,\n strict: true,\n stringKeys: false,\n uniqueKeys: true,\n version: '1.2'\n }, options);\n this.options = opt;\n let { version } = opt;\n if (options?._directives) {\n this.directives = options._directives.atDocument();\n if (this.directives.yaml.explicit)\n version = this.directives.yaml.version;\n }\n else\n this.directives = new directives.Directives({ version });\n this.setSchema(version, options);\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents =\n value === undefined ? null : this.createNode(value, _replacer, options);\n }\n /**\n * Create a deep copy of this Document and its contents.\n *\n * Custom Node values that inherit from `Object` still refer to their original instances.\n */\n clone() {\n const copy = Object.create(Document.prototype, {\n [identity.NODE_TYPE]: { value: identity.DOC }\n });\n copy.commentBefore = this.commentBefore;\n copy.comment = this.comment;\n copy.errors = this.errors.slice();\n copy.warnings = this.warnings.slice();\n copy.options = Object.assign({}, this.options);\n if (this.directives)\n copy.directives = this.directives.clone();\n copy.schema = this.schema.clone();\n // @ts-expect-error We can't really know that this matches Contents.\n copy.contents = identity.isNode(this.contents)\n ? this.contents.clone(copy.schema)\n : this.contents;\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** Adds a value to the document. */\n add(value) {\n if (assertCollection(this.contents))\n this.contents.add(value);\n }\n /** Adds a value to the document. */\n addIn(path, value) {\n if (assertCollection(this.contents))\n this.contents.addIn(path, value);\n }\n /**\n * Create a new `Alias` node, ensuring that the target `node` has the required anchor.\n *\n * If `node` already has an anchor, `name` is ignored.\n * Otherwise, the `node.anchor` value will be set to `name`,\n * or if an anchor with that name is already present in the document,\n * `name` will be used as a prefix for a new unique anchor.\n * If `name` is undefined, the generated anchor will use 'a' as a prefix.\n */\n createAlias(node, name) {\n if (!node.anchor) {\n const prev = anchors.anchorNames(this);\n node.anchor =\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n !name || prev.has(name) ? anchors.findNewAnchor(name || 'a', prev) : name;\n }\n return new Alias.Alias(node.anchor);\n }\n createNode(value, replacer, options) {\n let _replacer = undefined;\n if (typeof replacer === 'function') {\n value = replacer.call({ '': value }, '', value);\n _replacer = replacer;\n }\n else if (Array.isArray(replacer)) {\n const keyToStr = (v) => typeof v === 'number' || v instanceof String || v instanceof Number;\n const asStr = replacer.filter(keyToStr).map(String);\n if (asStr.length > 0)\n replacer = replacer.concat(asStr);\n _replacer = replacer;\n }\n else if (options === undefined && replacer) {\n options = replacer;\n replacer = undefined;\n }\n const { aliasDuplicateObjects, anchorPrefix, flow, keepUndefined, onTagObj, tag } = options ?? {};\n const { onAnchor, setAnchors, sourceObjects } = anchors.createNodeAnchors(this, \n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n anchorPrefix || 'a');\n const ctx = {\n aliasDuplicateObjects: aliasDuplicateObjects ?? true,\n keepUndefined: keepUndefined ?? false,\n onAnchor,\n onTagObj,\n replacer: _replacer,\n schema: this.schema,\n sourceObjects\n };\n const node = createNode.createNode(value, tag, ctx);\n if (flow && identity.isCollection(node))\n node.flow = true;\n setAnchors();\n return node;\n }\n /**\n * Convert a key and a value into a `Pair` using the current schema,\n * recursively wrapping all values as `Scalar` or `Collection` nodes.\n */\n createPair(key, value, options = {}) {\n const k = this.createNode(key, null, options);\n const v = this.createNode(value, null, options);\n return new Pair.Pair(k, v);\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n delete(key) {\n return assertCollection(this.contents) ? this.contents.delete(key) : false;\n }\n /**\n * Removes a value from the document.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n if (Collection.isEmptyPath(path)) {\n if (this.contents == null)\n return false;\n // @ts-expect-error Presumed impossible if Strict extends false\n this.contents = null;\n return true;\n }\n return assertCollection(this.contents)\n ? this.contents.deleteIn(path)\n : false;\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 get(key, keepScalar) {\n return identity.isCollection(this.contents)\n ? this.contents.get(key, keepScalar)\n : undefined;\n }\n /**\n * Returns item at `path`, 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 if (Collection.isEmptyPath(path))\n return !keepScalar && identity.isScalar(this.contents)\n ? this.contents.value\n : this.contents;\n return identity.isCollection(this.contents)\n ? this.contents.getIn(path, keepScalar)\n : undefined;\n }\n /**\n * Checks if the document includes a value with the key `key`.\n */\n has(key) {\n return identity.isCollection(this.contents) ? this.contents.has(key) : false;\n }\n /**\n * Checks if the document includes a value at `path`.\n */\n hasIn(path) {\n if (Collection.isEmptyPath(path))\n return this.contents !== undefined;\n return identity.isCollection(this.contents) ? this.contents.hasIn(path) : false;\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n set(key, value) {\n if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, [key], value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.set(key, value);\n }\n }\n /**\n * Sets a value in this document. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n if (Collection.isEmptyPath(path)) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = value;\n }\n else if (this.contents == null) {\n // @ts-expect-error We can't really know that this matches Contents.\n this.contents = Collection.collectionFromPath(this.schema, Array.from(path), value);\n }\n else if (assertCollection(this.contents)) {\n this.contents.setIn(path, value);\n }\n }\n /**\n * Change the YAML version and schema used by the document.\n * A `null` version disables support for directives, explicit tags, anchors, and aliases.\n * It also requires the `schema` option to be given as a `Schema` instance value.\n *\n * Overrides all previously set schema options.\n */\n setSchema(version, options = {}) {\n if (typeof version === 'number')\n version = String(version);\n let opt;\n switch (version) {\n case '1.1':\n if (this.directives)\n this.directives.yaml.version = '1.1';\n else\n this.directives = new directives.Directives({ version: '1.1' });\n opt = { resolveKnownTags: false, schema: 'yaml-1.1' };\n break;\n case '1.2':\n case 'next':\n if (this.directives)\n this.directives.yaml.version = version;\n else\n this.directives = new directives.Directives({ version });\n opt = { resolveKnownTags: true, schema: 'core' };\n break;\n case null:\n if (this.directives)\n delete this.directives;\n opt = null;\n break;\n default: {\n const sv = JSON.stringify(version);\n throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${sv}`);\n }\n }\n // Not using `instanceof Schema` to allow for duck typing\n if (options.schema instanceof Object)\n this.schema = options.schema;\n else if (opt)\n this.schema = new Schema.Schema(Object.assign(opt, options));\n else\n throw new Error(`With a null YAML version, the { schema: Schema } option is required`);\n }\n // json & jsonArg are only used from toJSON()\n toJS({ json, jsonArg, mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n const ctx = {\n anchors: new Map(),\n doc: this,\n keep: !json,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS.toJS(this.contents, jsonArg ?? '', 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.applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n /**\n * A JSON representation of the document `contents`.\n *\n * @param jsonArg Used by `JSON.stringify` to indicate the array index or\n * property name.\n */\n toJSON(jsonArg, onAnchor) {\n return this.toJS({ json: true, jsonArg, mapAsMap: false, onAnchor });\n }\n /** A YAML representation of the document. */\n toString(options = {}) {\n if (this.errors.length > 0)\n throw new Error('Document with errors cannot be stringified');\n if ('indent' in options &&\n (!Number.isInteger(options.indent) || Number(options.indent) <= 0)) {\n const s = JSON.stringify(options.indent);\n throw new Error(`\"indent\" option must be a positive integer, not ${s}`);\n }\n return stringifyDocument.stringifyDocument(this, options);\n }\n}\nfunction assertCollection(contents) {\n if (identity.isCollection(contents))\n return true;\n throw new Error('Expected a YAML collection as document contents');\n}\n\nexports.Document = Document;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;CAEA,IAAI,QAAA,gBAAA;CACJ,IAAI,aAAA,qBAAA;CACJ,IAAI,WAAA,mBAAA;CACJ,IAAI,OAAA,eAAA;CACJ,IAAI,OAAA,eAAA;CACJ,IAAI,SAAA,iBAAA;CACJ,IAAI,oBAAA,4BAAA;CACJ,IAAI,UAAA,kBAAA;CACJ,IAAI,eAAA,uBAAA;CACJ,IAAI,aAAA,qBAAA;CACJ,IAAI,aAAA,qBAAA;CAEJ,IAAM,WAAN,MAAM,SAAS;EACX,YAAY,OAAO,UAAU,SAAS;;GAElC,KAAK,gBAAgB;;GAErB,KAAK,UAAU;;GAEf,KAAK,SAAS,CAAC;;GAEf,KAAK,WAAW,CAAC;GACjB,OAAO,eAAe,MAAM,SAAS,WAAW,EAAE,OAAO,SAAS,IAAI,CAAC;GACvE,IAAI,YAAY;GAChB,IAAI,OAAO,aAAa,cAAc,MAAM,QAAQ,QAAQ,GACxD,YAAY;QAEX,IAAI,YAAY,KAAA,KAAa,UAAU;IACxC,UAAU;IACV,WAAW,KAAA;GACf;GACA,MAAM,MAAM,OAAO,OAAO;IACtB,aAAa;IACb,kBAAkB;IAClB,UAAU;IACV,cAAc;IACd,QAAQ;IACR,YAAY;IACZ,YAAY;IACZ,SAAS;GACb,GAAG,OAAO;GACV,KAAK,UAAU;GACf,IAAI,EAAE,YAAY;GAClB,IAAI,SAAS,aAAa;IACtB,KAAK,aAAa,QAAQ,YAAY,WAAW;IACjD,IAAI,KAAK,WAAW,KAAK,UACrB,UAAU,KAAK,WAAW,KAAK;GACvC,OAEI,KAAK,aAAa,IAAI,WAAW,WAAW,EAAE,QAAQ,CAAC;GAC3D,KAAK,UAAU,SAAS,OAAO;GAE/B,KAAK,WACD,UAAU,KAAA,IAAY,OAAO,KAAK,WAAW,OAAO,WAAW,OAAO;EAC9E;;;;;;EAMA,QAAQ;GACJ,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,GAC1C,SAAS,YAAY,EAAE,OAAO,SAAS,IAAI,EAChD,CAAC;GACD,KAAK,gBAAgB,KAAK;GAC1B,KAAK,UAAU,KAAK;GACpB,KAAK,SAAS,KAAK,OAAO,MAAM;GAChC,KAAK,WAAW,KAAK,SAAS,MAAM;GACpC,KAAK,UAAU,OAAO,OAAO,CAAC,GAAG,KAAK,OAAO;GAC7C,IAAI,KAAK,YACL,KAAK,aAAa,KAAK,WAAW,MAAM;GAC5C,KAAK,SAAS,KAAK,OAAO,MAAM;GAEhC,KAAK,WAAW,SAAS,OAAO,KAAK,QAAQ,IACvC,KAAK,SAAS,MAAM,KAAK,MAAM,IAC/B,KAAK;GACX,IAAI,KAAK,OACL,KAAK,QAAQ,KAAK,MAAM,MAAM;GAClC,OAAO;EACX;;EAEA,IAAI,OAAO;GACP,IAAI,iBAAiB,KAAK,QAAQ,GAC9B,KAAK,SAAS,IAAI,KAAK;EAC/B;;EAEA,MAAM,MAAM,OAAO;GACf,IAAI,iBAAiB,KAAK,QAAQ,GAC9B,KAAK,SAAS,MAAM,MAAM,KAAK;EACvC;;;;;;;;;;EAUA,YAAY,MAAM,MAAM;GACpB,IAAI,CAAC,KAAK,QAAQ;IACd,MAAM,OAAO,QAAQ,YAAY,IAAI;IACrC,KAAK,SAED,CAAC,QAAQ,KAAK,IAAI,IAAI,IAAI,QAAQ,cAAc,QAAQ,KAAK,IAAI,IAAI;GAC7E;GACA,OAAO,IAAI,MAAM,MAAM,KAAK,MAAM;EACtC;EACA,WAAW,OAAO,UAAU,SAAS;GACjC,IAAI,YAAY,KAAA;GAChB,IAAI,OAAO,aAAa,YAAY;IAChC,QAAQ,SAAS,KAAK,EAAE,IAAI,MAAM,GAAG,IAAI,KAAK;IAC9C,YAAY;GAChB,OACK,IAAI,MAAM,QAAQ,QAAQ,GAAG;IAC9B,MAAM,YAAY,MAAM,OAAO,MAAM,YAAY,aAAa,UAAU,aAAa;IACrF,MAAM,QAAQ,SAAS,OAAO,QAAQ,CAAC,CAAC,IAAI,MAAM;IAClD,IAAI,MAAM,SAAS,GACf,WAAW,SAAS,OAAO,KAAK;IACpC,YAAY;GAChB,OACK,IAAI,YAAY,KAAA,KAAa,UAAU;IACxC,UAAU;IACV,WAAW,KAAA;GACf;GACA,MAAM,EAAE,uBAAuB,cAAc,MAAM,eAAe,UAAU,QAAQ,WAAW,CAAC;GAChG,MAAM,EAAE,UAAU,YAAY,kBAAkB,QAAQ,kBAAkB,MAE1E,gBAAgB,GAAG;GACnB,MAAM,MAAM;IACR,uBAAuB,yBAAyB;IAChD,eAAe,iBAAiB;IAChC;IACA;IACA,UAAU;IACV,QAAQ,KAAK;IACb;GACJ;GACA,MAAM,OAAO,WAAW,WAAW,OAAO,KAAK,GAAG;GAClD,IAAI,QAAQ,SAAS,aAAa,IAAI,GAClC,KAAK,OAAO;GAChB,WAAW;GACX,OAAO;EACX;;;;;EAKA,WAAW,KAAK,OAAO,UAAU,CAAC,GAAG;GACjC,MAAM,IAAI,KAAK,WAAW,KAAK,MAAM,OAAO;GAC5C,MAAM,IAAI,KAAK,WAAW,OAAO,MAAM,OAAO;GAC9C,OAAO,IAAI,KAAK,KAAK,GAAG,CAAC;EAC7B;;;;;EAKA,OAAO,KAAK;GACR,OAAO,iBAAiB,KAAK,QAAQ,IAAI,KAAK,SAAS,OAAO,GAAG,IAAI;EACzE;;;;;EAKA,SAAS,MAAM;GACX,IAAI,WAAW,YAAY,IAAI,GAAG;IAC9B,IAAI,KAAK,YAAY,MACjB,OAAO;IAEX,KAAK,WAAW;IAChB,OAAO;GACX;GACA,OAAO,iBAAiB,KAAK,QAAQ,IAC/B,KAAK,SAAS,SAAS,IAAI,IAC3B;EACV;;;;;;EAMA,IAAI,KAAK,YAAY;GACjB,OAAO,SAAS,aAAa,KAAK,QAAQ,IACpC,KAAK,SAAS,IAAI,KAAK,UAAU,IACjC,KAAA;EACV;;;;;;EAMA,MAAM,MAAM,YAAY;GACpB,IAAI,WAAW,YAAY,IAAI,GAC3B,OAAO,CAAC,cAAc,SAAS,SAAS,KAAK,QAAQ,IAC/C,KAAK,SAAS,QACd,KAAK;GACf,OAAO,SAAS,aAAa,KAAK,QAAQ,IACpC,KAAK,SAAS,MAAM,MAAM,UAAU,IACpC,KAAA;EACV;;;;EAIA,IAAI,KAAK;GACL,OAAO,SAAS,aAAa,KAAK,QAAQ,IAAI,KAAK,SAAS,IAAI,GAAG,IAAI;EAC3E;;;;EAIA,MAAM,MAAM;GACR,IAAI,WAAW,YAAY,IAAI,GAC3B,OAAO,KAAK,aAAa,KAAA;GAC7B,OAAO,SAAS,aAAa,KAAK,QAAQ,IAAI,KAAK,SAAS,MAAM,IAAI,IAAI;EAC9E;;;;;EAKA,IAAI,KAAK,OAAO;GACZ,IAAI,KAAK,YAAY,MAEjB,KAAK,WAAW,WAAW,mBAAmB,KAAK,QAAQ,CAAC,GAAG,GAAG,KAAK;QAEtE,IAAI,iBAAiB,KAAK,QAAQ,GACnC,KAAK,SAAS,IAAI,KAAK,KAAK;EAEpC;;;;;EAKA,MAAM,MAAM,OAAO;GACf,IAAI,WAAW,YAAY,IAAI,GAE3B,KAAK,WAAW;QAEf,IAAI,KAAK,YAAY,MAEtB,KAAK,WAAW,WAAW,mBAAmB,KAAK,QAAQ,MAAM,KAAK,IAAI,GAAG,KAAK;QAEjF,IAAI,iBAAiB,KAAK,QAAQ,GACnC,KAAK,SAAS,MAAM,MAAM,KAAK;EAEvC;;;;;;;;EAQA,UAAU,SAAS,UAAU,CAAC,GAAG;GAC7B,IAAI,OAAO,YAAY,UACnB,UAAU,OAAO,OAAO;GAC5B,IAAI;GACJ,QAAQ,SAAR;IACI,KAAK;KACD,IAAI,KAAK,YACL,KAAK,WAAW,KAAK,UAAU;UAE/B,KAAK,aAAa,IAAI,WAAW,WAAW,EAAE,SAAS,MAAM,CAAC;KAClE,MAAM;MAAE,kBAAkB;MAAO,QAAQ;KAAW;KACpD;IACJ,KAAK;IACL,KAAK;KACD,IAAI,KAAK,YACL,KAAK,WAAW,KAAK,UAAU;UAE/B,KAAK,aAAa,IAAI,WAAW,WAAW,EAAE,QAAQ,CAAC;KAC3D,MAAM;MAAE,kBAAkB;MAAM,QAAQ;KAAO;KAC/C;IACJ,KAAK;KACD,IAAI,KAAK,YACL,OAAO,KAAK;KAChB,MAAM;KACN;IACJ,SAAS;KACL,MAAM,KAAK,KAAK,UAAU,OAAO;KACjC,MAAM,IAAI,MAAM,+DAA+D,IAAI;IACvF;GACJ;GAEA,IAAI,QAAQ,kBAAkB,QAC1B,KAAK,SAAS,QAAQ;QACrB,IAAI,KACL,KAAK,SAAS,IAAI,OAAO,OAAO,OAAO,OAAO,KAAK,OAAO,CAAC;QAE3D,MAAM,IAAI,MAAM,qEAAqE;EAC7F;EAEA,KAAK,EAAE,MAAM,SAAS,UAAU,eAAe,UAAU,YAAY,CAAC,GAAG;GACrE,MAAM,MAAM;IACR,yBAAS,IAAI,IAAI;IACjB,KAAK;IACL,MAAM,CAAC;IACP,UAAU,aAAa;IACvB,cAAc;IACd,eAAe,OAAO,kBAAkB,WAAW,gBAAgB;GACvE;GACA,MAAM,MAAM,KAAK,KAAK,KAAK,UAAU,WAAW,IAAI,GAAG;GACvD,IAAI,OAAO,aAAa,YACpB,KAAK,MAAM,EAAE,OAAO,SAAS,IAAI,QAAQ,OAAO,GAC5C,SAAS,KAAK,KAAK;GAC3B,OAAO,OAAO,YAAY,aACpB,aAAa,aAAa,SAAS,EAAE,IAAI,IAAI,GAAG,IAAI,GAAG,IACvD;EACV;;;;;;;EAOA,OAAO,SAAS,UAAU;GACtB,OAAO,KAAK,KAAK;IAAE,MAAM;IAAM;IAAS,UAAU;IAAO;GAAS,CAAC;EACvE;;EAEA,SAAS,UAAU,CAAC,GAAG;GACnB,IAAI,KAAK,OAAO,SAAS,GACrB,MAAM,IAAI,MAAM,4CAA4C;GAChE,IAAI,YAAY,YACX,CAAC,OAAO,UAAU,QAAQ,MAAM,KAAK,OAAO,QAAQ,MAAM,KAAK,IAAI;IACpE,MAAM,IAAI,KAAK,UAAU,QAAQ,MAAM;IACvC,MAAM,IAAI,MAAM,mDAAmD,GAAG;GAC1E;GACA,OAAO,kBAAkB,kBAAkB,MAAM,OAAO;EAC5D;CACJ;CACA,SAAS,iBAAiB,UAAU;EAChC,IAAI,SAAS,aAAa,QAAQ,GAC9B,OAAO;EACX,MAAM,IAAI,MAAM,iDAAiD;CACrE;CAEA,QAAQ,WAAW"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const require_runtime = require("../../../../../../../_virtual/_rolldown/runtime.js");
|
|
3
|
+
const require_identity$1 = require("../nodes/identity.js");
|
|
4
|
+
const require_visit$1 = require("../visit.js");
|
|
5
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js
|
|
6
|
+
var require_anchors = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
7
|
+
var identity = require_identity$1.default;
|
|
8
|
+
var visit = require_visit$1.default;
|
|
9
|
+
/**
|
|
10
|
+
* Verify that the input string is a valid anchor.
|
|
11
|
+
*
|
|
12
|
+
* Will throw on errors.
|
|
13
|
+
*/
|
|
14
|
+
function anchorIsValid(anchor) {
|
|
15
|
+
if (/[\x00-\x19\s,[\]{}]/.test(anchor)) {
|
|
16
|
+
const msg = `Anchor must not contain whitespace or control characters: ${JSON.stringify(anchor)}`;
|
|
17
|
+
throw new Error(msg);
|
|
18
|
+
}
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
function anchorNames(root) {
|
|
22
|
+
const anchors = /* @__PURE__ */ new Set();
|
|
23
|
+
visit.visit(root, { Value(_key, node) {
|
|
24
|
+
if (node.anchor) anchors.add(node.anchor);
|
|
25
|
+
} });
|
|
26
|
+
return anchors;
|
|
27
|
+
}
|
|
28
|
+
/** Find a new anchor name with the given `prefix` and a one-indexed suffix. */
|
|
29
|
+
function findNewAnchor(prefix, exclude) {
|
|
30
|
+
for (let i = 1;; ++i) {
|
|
31
|
+
const name = `${prefix}${i}`;
|
|
32
|
+
if (!exclude.has(name)) return name;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function createNodeAnchors(doc, prefix) {
|
|
36
|
+
const aliasObjects = [];
|
|
37
|
+
const sourceObjects = /* @__PURE__ */ new Map();
|
|
38
|
+
let prevAnchors = null;
|
|
39
|
+
return {
|
|
40
|
+
onAnchor: (source) => {
|
|
41
|
+
aliasObjects.push(source);
|
|
42
|
+
prevAnchors ?? (prevAnchors = anchorNames(doc));
|
|
43
|
+
const anchor = findNewAnchor(prefix, prevAnchors);
|
|
44
|
+
prevAnchors.add(anchor);
|
|
45
|
+
return anchor;
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* With circular references, the source node is only resolved after all
|
|
49
|
+
* of its child nodes are. This is why anchors are set only after all of
|
|
50
|
+
* the nodes have been created.
|
|
51
|
+
*/
|
|
52
|
+
setAnchors: () => {
|
|
53
|
+
for (const source of aliasObjects) {
|
|
54
|
+
const ref = sourceObjects.get(source);
|
|
55
|
+
if (typeof ref === "object" && ref.anchor && (identity.isScalar(ref.node) || identity.isCollection(ref.node))) ref.node.anchor = ref.anchor;
|
|
56
|
+
else {
|
|
57
|
+
const error = /* @__PURE__ */ new Error("Failed to resolve repeated object (this should not happen)");
|
|
58
|
+
error.source = source;
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
sourceObjects
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
exports.anchorIsValid = anchorIsValid;
|
|
67
|
+
exports.anchorNames = anchorNames;
|
|
68
|
+
exports.createNodeAnchors = createNodeAnchors;
|
|
69
|
+
exports.findNewAnchor = findNewAnchor;
|
|
70
|
+
}));
|
|
71
|
+
//#endregion
|
|
72
|
+
Object.defineProperty(exports, "default", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function() {
|
|
75
|
+
return require_anchors();
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=anchors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchors.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js"],"sourcesContent":["'use strict';\n\nvar identity = require('../nodes/identity.js');\nvar visit = require('../visit.js');\n\n/**\n * Verify that the input string is a valid anchor.\n *\n * Will throw on errors.\n */\nfunction anchorIsValid(anchor) {\n if (/[\\x00-\\x19\\s,[\\]{}]/.test(anchor)) {\n const sa = JSON.stringify(anchor);\n const msg = `Anchor must not contain whitespace or control characters: ${sa}`;\n throw new Error(msg);\n }\n return true;\n}\nfunction anchorNames(root) {\n const anchors = new Set();\n visit.visit(root, {\n Value(_key, node) {\n if (node.anchor)\n anchors.add(node.anchor);\n }\n });\n return anchors;\n}\n/** Find a new anchor name with the given `prefix` and a one-indexed suffix. */\nfunction findNewAnchor(prefix, exclude) {\n for (let i = 1; true; ++i) {\n const name = `${prefix}${i}`;\n if (!exclude.has(name))\n return name;\n }\n}\nfunction createNodeAnchors(doc, prefix) {\n const aliasObjects = [];\n const sourceObjects = new Map();\n let prevAnchors = null;\n return {\n onAnchor: (source) => {\n aliasObjects.push(source);\n prevAnchors ?? (prevAnchors = anchorNames(doc));\n const anchor = findNewAnchor(prefix, prevAnchors);\n prevAnchors.add(anchor);\n return anchor;\n },\n /**\n * With circular references, the source node is only resolved after all\n * of its child nodes are. This is why anchors are set only after all of\n * the nodes have been created.\n */\n setAnchors: () => {\n for (const source of aliasObjects) {\n const ref = sourceObjects.get(source);\n if (typeof ref === 'object' &&\n ref.anchor &&\n (identity.isScalar(ref.node) || identity.isCollection(ref.node))) {\n ref.node.anchor = ref.anchor;\n }\n else {\n const error = new Error('Failed to resolve repeated object (this should not happen)');\n error.source = source;\n throw error;\n }\n }\n },\n sourceObjects\n };\n}\n\nexports.anchorIsValid = anchorIsValid;\nexports.anchorNames = anchorNames;\nexports.createNodeAnchors = createNodeAnchors;\nexports.findNewAnchor = findNewAnchor;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;CAEA,IAAI,WAAA,mBAAA;CACJ,IAAI,QAAA,gBAAA;;;;;;CAOJ,SAAS,cAAc,QAAQ;EAC3B,IAAI,sBAAsB,KAAK,MAAM,GAAG;GAEpC,MAAM,MAAM,6DADD,KAAK,UAAU,MACgD;GAC1E,MAAM,IAAI,MAAM,GAAG;EACvB;EACA,OAAO;CACX;CACA,SAAS,YAAY,MAAM;EACvB,MAAM,0BAAU,IAAI,IAAI;EACxB,MAAM,MAAM,MAAM,EACd,MAAM,MAAM,MAAM;GACd,IAAI,KAAK,QACL,QAAQ,IAAI,KAAK,MAAM;EAC/B,EACJ,CAAC;EACD,OAAO;CACX;;CAEA,SAAS,cAAc,QAAQ,SAAS;EACpC,KAAK,IAAI,IAAI,IAAS,EAAE,GAAG;GACvB,MAAM,OAAO,GAAG,SAAS;GACzB,IAAI,CAAC,QAAQ,IAAI,IAAI,GACjB,OAAO;EACf;CACJ;CACA,SAAS,kBAAkB,KAAK,QAAQ;EACpC,MAAM,eAAe,CAAC;EACtB,MAAM,gCAAgB,IAAI,IAAI;EAC9B,IAAI,cAAc;EAClB,OAAO;GACH,WAAW,WAAW;IAClB,aAAa,KAAK,MAAM;IACxB,gBAAgB,cAAc,YAAY,GAAG;IAC7C,MAAM,SAAS,cAAc,QAAQ,WAAW;IAChD,YAAY,IAAI,MAAM;IACtB,OAAO;GACX;;;;;;GAMA,kBAAkB;IACd,KAAK,MAAM,UAAU,cAAc;KAC/B,MAAM,MAAM,cAAc,IAAI,MAAM;KACpC,IAAI,OAAO,QAAQ,YACf,IAAI,WACH,SAAS,SAAS,IAAI,IAAI,KAAK,SAAS,aAAa,IAAI,IAAI,IAC9D,IAAI,KAAK,SAAS,IAAI;UAErB;MACD,MAAM,wBAAQ,IAAI,MAAM,4DAA4D;MACpF,MAAM,SAAS;MACf,MAAM;KACV;IACJ;GACJ;GACA;EACJ;CACJ;CAEA,QAAQ,gBAAgB;CACxB,QAAQ,cAAc;CACtB,QAAQ,oBAAoB;CAC5B,QAAQ,gBAAgB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
3
|
+
var require_applyReviver = /* @__PURE__ */ require("../../../../../../../_virtual/_rolldown/runtime.js").__commonJSMin(((exports) => {
|
|
4
|
+
/**
|
|
5
|
+
* Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,
|
|
6
|
+
* in section 24.5.1.1 "Runtime Semantics: InternalizeJSONProperty" of the
|
|
7
|
+
* 2021 edition: https://tc39.es/ecma262/#sec-json.parse
|
|
8
|
+
*
|
|
9
|
+
* Includes extensions for handling Map and Set objects.
|
|
10
|
+
*/
|
|
11
|
+
function applyReviver(reviver, obj, key, val) {
|
|
12
|
+
if (val && typeof val === "object") if (Array.isArray(val)) for (let i = 0, len = val.length; i < len; ++i) {
|
|
13
|
+
const v0 = val[i];
|
|
14
|
+
const v1 = applyReviver(reviver, val, String(i), v0);
|
|
15
|
+
if (v1 === void 0) delete val[i];
|
|
16
|
+
else if (v1 !== v0) val[i] = v1;
|
|
17
|
+
}
|
|
18
|
+
else if (val instanceof Map) for (const k of Array.from(val.keys())) {
|
|
19
|
+
const v0 = val.get(k);
|
|
20
|
+
const v1 = applyReviver(reviver, val, k, v0);
|
|
21
|
+
if (v1 === void 0) val.delete(k);
|
|
22
|
+
else if (v1 !== v0) val.set(k, v1);
|
|
23
|
+
}
|
|
24
|
+
else if (val instanceof Set) for (const v0 of Array.from(val)) {
|
|
25
|
+
const v1 = applyReviver(reviver, val, v0, v0);
|
|
26
|
+
if (v1 === void 0) val.delete(v0);
|
|
27
|
+
else if (v1 !== v0) {
|
|
28
|
+
val.delete(v0);
|
|
29
|
+
val.add(v1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
else for (const [k, v0] of Object.entries(val)) {
|
|
33
|
+
const v1 = applyReviver(reviver, val, k, v0);
|
|
34
|
+
if (v1 === void 0) delete val[k];
|
|
35
|
+
else if (v1 !== v0) val[k] = v1;
|
|
36
|
+
}
|
|
37
|
+
return reviver.call(obj, key, val);
|
|
38
|
+
}
|
|
39
|
+
exports.applyReviver = applyReviver;
|
|
40
|
+
}));
|
|
41
|
+
//#endregion
|
|
42
|
+
Object.defineProperty(exports, "default", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function() {
|
|
45
|
+
return require_applyReviver();
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
//# sourceMappingURL=applyReviver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"applyReviver.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js"],"sourcesContent":["'use strict';\n\n/**\n * Applies the JSON.parse reviver algorithm as defined in the ECMA-262 spec,\n * in section 24.5.1.1 \"Runtime Semantics: InternalizeJSONProperty\" of the\n * 2021 edition: https://tc39.es/ecma262/#sec-json.parse\n *\n * Includes extensions for handling Map and Set objects.\n */\nfunction applyReviver(reviver, obj, key, val) {\n if (val && typeof val === 'object') {\n if (Array.isArray(val)) {\n for (let i = 0, len = val.length; i < len; ++i) {\n const v0 = val[i];\n const v1 = applyReviver(reviver, val, String(i), v0);\n // eslint-disable-next-line @typescript-eslint/no-array-delete\n if (v1 === undefined)\n delete val[i];\n else if (v1 !== v0)\n val[i] = v1;\n }\n }\n else if (val instanceof Map) {\n for (const k of Array.from(val.keys())) {\n const v0 = val.get(k);\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n val.delete(k);\n else if (v1 !== v0)\n val.set(k, v1);\n }\n }\n else if (val instanceof Set) {\n for (const v0 of Array.from(val)) {\n const v1 = applyReviver(reviver, val, v0, v0);\n if (v1 === undefined)\n val.delete(v0);\n else if (v1 !== v0) {\n val.delete(v0);\n val.add(v1);\n }\n }\n }\n else {\n for (const [k, v0] of Object.entries(val)) {\n const v1 = applyReviver(reviver, val, k, v0);\n if (v1 === undefined)\n delete val[k];\n else if (v1 !== v0)\n val[k] = v1;\n }\n }\n }\n return reviver.call(obj, key, val);\n}\n\nexports.applyReviver = applyReviver;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;CASA,SAAS,aAAa,SAAS,KAAK,KAAK,KAAK;EAC1C,IAAI,OAAO,OAAO,QAAQ,UACtB,IAAI,MAAM,QAAQ,GAAG,GACjB,KAAK,IAAI,IAAI,GAAG,MAAM,IAAI,QAAQ,IAAI,KAAK,EAAE,GAAG;GAC5C,MAAM,KAAK,IAAI;GACf,MAAM,KAAK,aAAa,SAAS,KAAK,OAAO,CAAC,GAAG,EAAE;GAEnD,IAAI,OAAO,KAAA,GACP,OAAO,IAAI;QACV,IAAI,OAAO,IACZ,IAAI,KAAK;EACjB;OAEC,IAAI,eAAe,KACpB,KAAK,MAAM,KAAK,MAAM,KAAK,IAAI,KAAK,CAAC,GAAG;GACpC,MAAM,KAAK,IAAI,IAAI,CAAC;GACpB,MAAM,KAAK,aAAa,SAAS,KAAK,GAAG,EAAE;GAC3C,IAAI,OAAO,KAAA,GACP,IAAI,OAAO,CAAC;QACX,IAAI,OAAO,IACZ,IAAI,IAAI,GAAG,EAAE;EACrB;OAEC,IAAI,eAAe,KACpB,KAAK,MAAM,MAAM,MAAM,KAAK,GAAG,GAAG;GAC9B,MAAM,KAAK,aAAa,SAAS,KAAK,IAAI,EAAE;GAC5C,IAAI,OAAO,KAAA,GACP,IAAI,OAAO,EAAE;QACZ,IAAI,OAAO,IAAI;IAChB,IAAI,OAAO,EAAE;IACb,IAAI,IAAI,EAAE;GACd;EACJ;OAGA,KAAK,MAAM,CAAC,GAAG,OAAO,OAAO,QAAQ,GAAG,GAAG;GACvC,MAAM,KAAK,aAAa,SAAS,KAAK,GAAG,EAAE;GAC3C,IAAI,OAAO,KAAA,GACP,OAAO,IAAI;QACV,IAAI,OAAO,IACZ,IAAI,KAAK;EACjB;EAGR,OAAO,QAAQ,KAAK,KAAK,KAAK,GAAG;CACrC;CAEA,QAAQ,eAAe"}
|