@milpa/comal 0.0.0-stage → 0.1.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 +81 -2
- package/backend/contracts/artifact-check-v1.schema.json +213 -0
- package/backend/verifier/transport.mjs +27 -0
- package/bin/comal.mjs +21 -0
- package/bin/harness.mjs +3 -0
- package/docs/investigation.md +3 -0
- package/governance/chrome-task-v1.json +13 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/ansi-regex/index.d.ts +33 -0
- package/node_modules/ansi-regex/index.js +15 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +61 -0
- package/node_modules/ansi-regex/readme.md +66 -0
- package/node_modules/boolbase/README.md +10 -0
- package/node_modules/boolbase/index.js +8 -0
- package/node_modules/boolbase/package.json +23 -0
- package/node_modules/cheerio/LICENSE +21 -0
- package/node_modules/cheerio/Readme.md +229 -0
- package/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
- package/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/css.js +116 -0
- package/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/extract.js +42 -0
- package/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/forms.js +81 -0
- package/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
- package/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
- package/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/cheerio.js +58 -0
- package/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
- package/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
- package/node_modules/cheerio/dist/browser/index.d.ts +5 -0
- package/node_modules/cheerio/dist/browser/index.js +3 -0
- package/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/load-parse.js +28 -0
- package/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/browser/load.d.ts +91 -0
- package/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/load.js +129 -0
- package/node_modules/cheerio/dist/browser/load.js.map +1 -0
- package/node_modules/cheerio/dist/browser/options.d.ts +98 -0
- package/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/options.js +34 -0
- package/node_modules/cheerio/dist/browser/options.js.map +1 -0
- package/node_modules/cheerio/dist/browser/package.json +3 -0
- package/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/parse.js +73 -0
- package/node_modules/cheerio/dist/browser/parse.js.map +1 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
- package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/slim.js +22 -0
- package/node_modules/cheerio/dist/browser/slim.js.map +1 -0
- package/node_modules/cheerio/dist/browser/static.d.ts +112 -0
- package/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/static.js +204 -0
- package/node_modules/cheerio/dist/browser/static.js.map +1 -0
- package/node_modules/cheerio/dist/browser/types.d.ts +21 -0
- package/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/types.js +3 -0
- package/node_modules/cheerio/dist/browser/types.js.map +1 -0
- package/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/browser/utils.js +84 -0
- package/node_modules/cheerio/dist/browser/utils.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
- package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
- package/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
- package/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
- package/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
- package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
- package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
- package/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
- package/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/index.js +250 -0
- package/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
- package/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
- package/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/load.js +165 -0
- package/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
- package/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/options.js +37 -0
- package/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/package.json +3 -0
- package/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parse.js +77 -0
- package/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
- package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/slim.js +30 -0
- package/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
- package/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/static.js +214 -0
- package/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
- package/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/types.js +4 -0
- package/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
- package/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/commonjs/utils.js +91 -0
- package/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
- package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
- package/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
- package/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/css.js +116 -0
- package/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
- package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/extract.js +42 -0
- package/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
- package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/forms.js +81 -0
- package/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
- package/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
- package/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
- package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
- package/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
- package/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
- package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/cheerio.js +58 -0
- package/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
- package/node_modules/cheerio/dist/esm/index.d.ts +104 -0
- package/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/index.js +202 -0
- package/node_modules/cheerio/dist/esm/index.js.map +1 -0
- package/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
- package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/load-parse.js +28 -0
- package/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
- package/node_modules/cheerio/dist/esm/load.d.ts +91 -0
- package/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/load.js +129 -0
- package/node_modules/cheerio/dist/esm/load.js.map +1 -0
- package/node_modules/cheerio/dist/esm/options.d.ts +98 -0
- package/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/options.js +34 -0
- package/node_modules/cheerio/dist/esm/options.js.map +1 -0
- package/node_modules/cheerio/dist/esm/package.json +3 -0
- package/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
- package/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/parse.js +73 -0
- package/node_modules/cheerio/dist/esm/parse.js.map +1 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
- package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
- package/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
- package/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/slim.js +22 -0
- package/node_modules/cheerio/dist/esm/slim.js.map +1 -0
- package/node_modules/cheerio/dist/esm/static.d.ts +112 -0
- package/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/static.js +204 -0
- package/node_modules/cheerio/dist/esm/static.js.map +1 -0
- package/node_modules/cheerio/dist/esm/types.d.ts +21 -0
- package/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/types.js +3 -0
- package/node_modules/cheerio/dist/esm/types.js.map +1 -0
- package/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
- package/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
- package/node_modules/cheerio/dist/esm/utils.js +84 -0
- package/node_modules/cheerio/dist/esm/utils.js.map +1 -0
- package/node_modules/cheerio/package.json +182 -0
- package/node_modules/cheerio/src/api/attributes.ts +1145 -0
- package/node_modules/cheerio/src/api/css.ts +224 -0
- package/node_modules/cheerio/src/api/extract.ts +92 -0
- package/node_modules/cheerio/src/api/forms.ts +103 -0
- package/node_modules/cheerio/src/api/manipulation.ts +1115 -0
- package/node_modules/cheerio/src/api/traversing.ts +1175 -0
- package/node_modules/cheerio/src/cheerio.ts +143 -0
- package/node_modules/cheerio/src/index-browser.mts +10 -0
- package/node_modules/cheerio/src/index.ts +294 -0
- package/node_modules/cheerio/src/load-parse.ts +39 -0
- package/node_modules/cheerio/src/load.ts +282 -0
- package/node_modules/cheerio/src/options.ts +136 -0
- package/node_modules/cheerio/src/parse.ts +105 -0
- package/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
- package/node_modules/cheerio/src/slim.ts +33 -0
- package/node_modules/cheerio/src/static.ts +312 -0
- package/node_modules/cheerio/src/types.ts +58 -0
- package/node_modules/cheerio/src/utils.ts +99 -0
- package/node_modules/cheerio-select/LICENSE +11 -0
- package/node_modules/cheerio-select/README.md +18 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
- package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/index.js +241 -0
- package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/esm/package.json +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
- package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
- package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/helpers.js +26 -0
- package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
- package/node_modules/cheerio-select/lib/index.d.ts +12 -0
- package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/index.js +302 -0
- package/node_modules/cheerio-select/lib/index.js.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
- package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
- package/node_modules/cheerio-select/lib/positionals.js +52 -0
- package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
- package/node_modules/cheerio-select/package.json +76 -0
- package/node_modules/css-select/LICENSE +11 -0
- package/node_modules/css-select/README.md +264 -0
- package/node_modules/css-select/lib/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/attributes.js +236 -0
- package/node_modules/css-select/lib/attributes.js.map +1 -0
- package/node_modules/css-select/lib/compile.d.ts +13 -0
- package/node_modules/css-select/lib/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/compile.js +151 -0
- package/node_modules/css-select/lib/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
- package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
- package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
- package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/compile.js +115 -0
- package/node_modules/css-select/lib/esm/compile.js.map +1 -0
- package/node_modules/css-select/lib/esm/general.d.ts +3 -0
- package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/general.js +144 -0
- package/node_modules/css-select/lib/esm/general.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
- package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
- package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
- package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/esm/index.d.ts +50 -0
- package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/index.js +115 -0
- package/node_modules/css-select/lib/esm/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/package.json +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
- package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/sort.js +79 -0
- package/node_modules/css-select/lib/esm/sort.js.map +1 -0
- package/node_modules/css-select/lib/esm/types.d.ts +167 -0
- package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/esm/types.js +2 -0
- package/node_modules/css-select/lib/esm/types.js.map +1 -0
- package/node_modules/css-select/lib/general.d.ts +3 -0
- package/node_modules/css-select/lib/general.d.ts.map +1 -0
- package/node_modules/css-select/lib/general.js +148 -0
- package/node_modules/css-select/lib/general.js.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
- package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/cache.js +45 -0
- package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
- package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/querying.js +111 -0
- package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
- package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
- package/node_modules/css-select/lib/helpers/selectors.js +111 -0
- package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
- package/node_modules/css-select/lib/index.d.ts +50 -0
- package/node_modules/css-select/lib/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/index.js +154 -0
- package/node_modules/css-select/lib/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
- package/node_modules/css-select/lib/sort.d.ts +12 -0
- package/node_modules/css-select/lib/sort.d.ts.map +1 -0
- package/node_modules/css-select/lib/sort.js +84 -0
- package/node_modules/css-select/lib/sort.js.map +1 -0
- package/node_modules/css-select/lib/types.d.ts +167 -0
- package/node_modules/css-select/lib/types.d.ts.map +1 -0
- package/node_modules/css-select/lib/types.js +3 -0
- package/node_modules/css-select/lib/types.js.map +1 -0
- package/node_modules/css-select/package.json +81 -0
- package/node_modules/css-what/LICENSE +11 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
- package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
- package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
- package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/node_modules/css-what/lib/es/index.d.ts +4 -0
- package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/index.js +3 -0
- package/node_modules/css-what/lib/es/parse.d.ts +20 -0
- package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/parse.js +420 -0
- package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
- package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/stringify.js +126 -0
- package/node_modules/css-what/lib/es/types.d.ts +70 -0
- package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
- package/node_modules/css-what/lib/es/types.js +39 -0
- package/node_modules/css-what/package.json +59 -0
- package/node_modules/css-what/readme.md +69 -0
- package/node_modules/dom-serializer/LICENSE +11 -0
- package/node_modules/dom-serializer/README.md +109 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
- package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/node_modules/dom-serializer/lib/index.d.ts +52 -0
- package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/lib/index.js +229 -0
- package/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/domelementtype/LICENSE +11 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/node_modules/domelementtype/lib/index.d.ts +48 -0
- package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
- package/node_modules/domelementtype/lib/index.js +55 -0
- package/node_modules/domelementtype/package.json +54 -0
- package/node_modules/domelementtype/readme.md +1 -0
- package/node_modules/domhandler/LICENSE +11 -0
- package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
- package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/index.js +146 -0
- package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
- package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/esm/node.js +338 -0
- package/node_modules/domhandler/lib/esm/package.json +1 -0
- package/node_modules/domhandler/lib/index.d.ts +76 -0
- package/node_modules/domhandler/lib/index.d.ts.map +1 -0
- package/node_modules/domhandler/lib/index.js +165 -0
- package/node_modules/domhandler/lib/node.d.ts +245 -0
- package/node_modules/domhandler/lib/node.d.ts.map +1 -0
- package/node_modules/domhandler/lib/node.js +474 -0
- package/node_modules/domhandler/package.json +73 -0
- package/node_modules/domhandler/readme.md +92 -0
- package/node_modules/domutils/LICENSE +11 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
- package/node_modules/domutils/lib/esm/index.d.ts +10 -0
- package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/index.js +10 -0
- package/node_modules/domutils/lib/esm/index.js.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/legacy.js +152 -0
- package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/esm/package.json +1 -0
- package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
- package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/querying.js +142 -0
- package/node_modules/domutils/lib/esm/querying.js.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
- package/node_modules/domutils/lib/feeds.d.ts +71 -0
- package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
- package/node_modules/domutils/lib/feeds.js +190 -0
- package/node_modules/domutils/lib/feeds.js.map +1 -0
- package/node_modules/domutils/lib/helpers.d.ts +59 -0
- package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
- package/node_modules/domutils/lib/helpers.js +142 -0
- package/node_modules/domutils/lib/helpers.js.map +1 -0
- package/node_modules/domutils/lib/index.d.ts +10 -0
- package/node_modules/domutils/lib/index.d.ts.map +1 -0
- package/node_modules/domutils/lib/index.js +33 -0
- package/node_modules/domutils/lib/index.js.map +1 -0
- package/node_modules/domutils/lib/legacy.d.ts +79 -0
- package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
- package/node_modules/domutils/lib/legacy.js +168 -0
- package/node_modules/domutils/lib/legacy.js.map +1 -0
- package/node_modules/domutils/lib/manipulation.d.ts +49 -0
- package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/lib/manipulation.js +142 -0
- package/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/node_modules/domutils/lib/querying.d.ts +64 -0
- package/node_modules/domutils/lib/querying.d.ts.map +1 -0
- package/node_modules/domutils/lib/querying.js +155 -0
- package/node_modules/domutils/lib/querying.js.map +1 -0
- package/node_modules/domutils/lib/stringify.d.ts +46 -0
- package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
- package/node_modules/domutils/lib/stringify.js +91 -0
- package/node_modules/domutils/lib/stringify.js.map +1 -0
- package/node_modules/domutils/lib/traversal.d.ts +67 -0
- package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
- package/node_modules/domutils/lib/traversal.js +125 -0
- package/node_modules/domutils/lib/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +79 -0
- package/node_modules/domutils/readme.md +31 -0
- package/node_modules/encoding-sniffer/LICENSE +18 -0
- package/node_modules/encoding-sniffer/README.md +68 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
- package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
- package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
- package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
- package/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
- package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
- package/node_modules/encoding-sniffer/package.json +94 -0
- package/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
- package/node_modules/encoding-sniffer/sniffer.js +3 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/entities/lib/index.js +126 -0
- package/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/entities/package.json +90 -0
- package/node_modules/entities/readme.md +122 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +631 -0
- package/node_modules/fast-uri/lib/schemes.js +272 -0
- package/node_modules/fast-uri/lib/utils.js +747 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
- package/node_modules/fast-uri/test/equal.test.js +145 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
- package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
- package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
- package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
- package/node_modules/fast-uri/test/parse.test.js +327 -0
- package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
- package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
- package/node_modules/fast-uri/test/security.test.js +431 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/get-east-asian-width/index.d.ts +60 -0
- package/node_modules/get-east-asian-width/index.js +35 -0
- package/node_modules/get-east-asian-width/license +9 -0
- package/node_modules/get-east-asian-width/lookup-data.js +21 -0
- package/node_modules/get-east-asian-width/lookup.js +138 -0
- package/node_modules/get-east-asian-width/package.json +71 -0
- package/node_modules/get-east-asian-width/readme.md +65 -0
- package/node_modules/get-east-asian-width/utilities.js +24 -0
- package/node_modules/htmlparser2/LICENSE +18 -0
- package/node_modules/htmlparser2/README.md +171 -0
- package/node_modules/htmlparser2/WritableStream.js +3 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
- package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
- package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
- package/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
- package/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
- package/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
- package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
- package/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
- package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
- package/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/esm/index.js +74 -0
- package/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/dist/esm/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
- package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
- package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
- package/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
- package/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
- package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
- package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
- package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
- package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
- package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
- package/node_modules/htmlparser2/package.json +113 -0
- package/node_modules/htmlparser2/src/Parser.ts +663 -0
- package/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
- package/node_modules/htmlparser2/src/WritableStream.ts +43 -0
- package/node_modules/htmlparser2/src/index.ts +115 -0
- package/node_modules/iconv-lite/.github/dependabot.yml +11 -0
- package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
- package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
- package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/node_modules/iconv-lite/.idea/modules.xml +8 -0
- package/node_modules/iconv-lite/.idea/vcs.xml +6 -0
- package/node_modules/iconv-lite/Changelog.md +212 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +130 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +198 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +197 -0
- package/node_modules/iconv-lite/encodings/utf32.js +319 -0
- package/node_modules/iconv-lite/encodings/utf7.js +290 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
- package/node_modules/iconv-lite/lib/index.d.ts +41 -0
- package/node_modules/iconv-lite/lib/index.js +180 -0
- package/node_modules/iconv-lite/lib/streams.js +109 -0
- package/node_modules/iconv-lite/package.json +44 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/marked/LICENSE +44 -0
- package/node_modules/marked/README.md +117 -0
- package/node_modules/marked/bin/main.js +284 -0
- package/node_modules/marked/bin/marked.js +16 -0
- package/node_modules/marked/lib/marked.d.ts +841 -0
- package/node_modules/marked/lib/marked.esm.js +78 -0
- package/node_modules/marked/lib/marked.esm.js.map +7 -0
- package/node_modules/marked/lib/marked.umd.js +80 -0
- package/node_modules/marked/lib/marked.umd.js.map +7 -0
- package/node_modules/marked/man/marked.1 +113 -0
- package/node_modules/marked/man/marked.1.md +93 -0
- package/node_modules/marked/package.json +103 -0
- package/node_modules/nth-check/LICENSE +11 -0
- package/node_modules/nth-check/README.md +136 -0
- package/node_modules/nth-check/lib/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/compile.js +121 -0
- package/node_modules/nth-check/lib/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
- package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
- package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
- package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/index.js +63 -0
- package/node_modules/nth-check/lib/esm/index.js.map +1 -0
- package/node_modules/nth-check/lib/esm/package.json +1 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
- package/node_modules/nth-check/lib/index.d.ts +59 -0
- package/node_modules/nth-check/lib/index.d.ts.map +1 -0
- package/node_modules/nth-check/lib/index.js +70 -0
- package/node_modules/nth-check/lib/index.js.map +1 -0
- package/node_modules/nth-check/lib/parse.d.ts +9 -0
- package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
- package/node_modules/nth-check/lib/parse.js +77 -0
- package/node_modules/nth-check/lib/parse.js.map +1 -0
- package/node_modules/nth-check/package.json +78 -0
- package/node_modules/parse5/LICENSE +19 -0
- package/node_modules/parse5/README.md +38 -0
- package/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
- package/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
- package/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
- package/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
- package/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
- package/node_modules/parse5/dist/cjs/common/html.js +528 -0
- package/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
- package/node_modules/parse5/dist/cjs/common/token.js +24 -0
- package/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
- package/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
- package/node_modules/parse5/dist/cjs/index.d.ts +71 -0
- package/node_modules/parse5/dist/cjs/index.js +54 -0
- package/node_modules/parse5/dist/cjs/package.json +1 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
- package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
- package/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
- package/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
- package/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
- package/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
- package/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
- package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
- package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
- package/node_modules/parse5/dist/common/doctype.d.ts +4 -0
- package/node_modules/parse5/dist/common/doctype.js +114 -0
- package/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
- package/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
- package/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/node_modules/parse5/dist/common/html.d.ts +289 -0
- package/node_modules/parse5/dist/common/html.js +523 -0
- package/node_modules/parse5/dist/common/token.d.ts +84 -0
- package/node_modules/parse5/dist/common/token.js +20 -0
- package/node_modules/parse5/dist/common/unicode.d.ts +42 -0
- package/node_modules/parse5/dist/common/unicode.js +62 -0
- package/node_modules/parse5/dist/index.d.ts +71 -0
- package/node_modules/parse5/dist/index.js +42 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
- package/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/node_modules/parse5/dist/parser/index.d.ts +221 -0
- package/node_modules/parse5/dist/parser/index.js +3245 -0
- package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
- package/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/node_modules/parse5/dist/serializer/index.d.ts +60 -0
- package/node_modules/parse5/dist/serializer/index.js +168 -0
- package/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
- package/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
- package/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
- package/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
- package/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
- package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
- package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/decode.js +3 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
- package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
- package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
- package/node_modules/parse5/node_modules/entities/escape.js +3 -0
- package/node_modules/parse5/node_modules/entities/package.json +118 -0
- package/node_modules/parse5/node_modules/entities/readme.md +122 -0
- package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
- package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
- package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
- package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
- package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
- package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
- package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
- package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
- package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
- package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
- package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
- package/node_modules/parse5/package.json +50 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
- package/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
- package/node_modules/parse5-parser-stream/LICENSE +19 -0
- package/node_modules/parse5-parser-stream/README.md +34 -0
- package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
- package/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
- package/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
- package/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
- package/node_modules/parse5-parser-stream/dist/index.js +86 -0
- package/node_modules/parse5-parser-stream/package.json +39 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/string-width/index.d.ts +39 -0
- package/node_modules/string-width/index.js +203 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +65 -0
- package/node_modules/string-width/readme.md +66 -0
- package/node_modules/strip-ansi/index.d.ts +15 -0
- package/node_modules/strip-ansi/index.js +19 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +59 -0
- package/node_modules/strip-ansi/readme.md +37 -0
- package/node_modules/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +741 -0
- package/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/node_modules/undici/docs/docs/api/Client.md +288 -0
- package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +234 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +110 -0
- package/node_modules/undici/lib/api/api-pipeline.js +252 -0
- package/node_modules/undici/lib/api/api-request.js +214 -0
- package/node_modules/undici/lib/api/api-stream.js +209 -0
- package/node_modules/undici/lib/api/api-upgrade.js +111 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +580 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
- package/node_modules/undici/lib/core/connect.js +153 -0
- package/node_modules/undici/lib/core/constants.js +143 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +485 -0
- package/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/node_modules/undici/lib/core/symbols.js +75 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +992 -0
- package/node_modules/undici/lib/dispatcher/agent.js +158 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1746 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +1060 -0
- package/node_modules/undici/lib/dispatcher/client.js +668 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
- package/node_modules/undici/lib/dispatcher/pool.js +118 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +59 -0
- package/node_modules/undici/lib/handler/cache-handler.js +776 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
- package/node_modules/undici/lib/handler/retry-handler.js +504 -0
- package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
- package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
- package/node_modules/undici/lib/interceptor/cache.js +621 -0
- package/node_modules/undici/lib/interceptor/decompress.js +551 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +99 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
- package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +486 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +676 -0
- package/node_modules/undici/lib/util/date.js +670 -0
- package/node_modules/undici/lib/util/promise.js +28 -0
- package/node_modules/undici/lib/util/runtime-features.js +124 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +864 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +314 -0
- package/node_modules/undici/lib/web/cookies/util.js +352 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +509 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2413 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1006 -0
- package/node_modules/undici/lib/web/websocket/connection.js +339 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +133 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +32 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client-stats.d.ts +15 -0
- package/node_modules/undici/types/client.d.ts +139 -0
- package/node_modules/undici/types/connector.d.ts +36 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +30 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici/types/dispatcher.d.ts +275 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici/types/errors.d.ts +177 -0
- package/node_modules/undici/types/eventsource.d.ts +66 -0
- package/node_modules/undici/types/fetch.d.ts +231 -0
- package/node_modules/undici/types/formdata.d.ts +114 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/node_modules/undici/types/handlers.d.ts +14 -0
- package/node_modules/undici/types/header.d.ts +160 -0
- package/node_modules/undici/types/index.d.ts +91 -0
- package/node_modules/undici/types/interceptors.d.ts +82 -0
- package/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/node_modules/undici/types/mock-client.d.ts +27 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/node_modules/undici/types/patch.d.ts +29 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +41 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +68 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/utility.d.ts +7 -0
- package/node_modules/undici/types/webidl.d.ts +347 -0
- package/node_modules/undici/types/websocket.d.ts +188 -0
- package/node_modules/whatwg-encoding/LICENSE.txt +7 -0
- package/node_modules/whatwg-encoding/README.md +50 -0
- package/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
- package/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
- package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
- package/node_modules/whatwg-encoding/package.json +32 -0
- package/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
- package/node_modules/whatwg-mimetype/README.md +101 -0
- package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
- package/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
- package/node_modules/whatwg-mimetype/lib/parser.js +105 -0
- package/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
- package/node_modules/whatwg-mimetype/lib/utils.js +60 -0
- package/node_modules/whatwg-mimetype/package.json +45 -0
- package/package.json +38 -4
- package/src/agent-recovery-proof.mjs +63 -0
- package/src/agent.mjs +363 -0
- package/src/artifact-tools.mjs +22 -0
- package/src/audit.mjs +73 -0
- package/src/auto-guard.mjs +85 -0
- package/src/browser-currency.mjs +20 -0
- package/src/chrome-recovery-proof.mjs +43 -0
- package/src/cli.mjs +798 -0
- package/src/cloud-client.mjs +24 -0
- package/src/codex-provider.mjs +219 -0
- package/src/compaction.mjs +233 -0
- package/src/compat.mjs +13 -0
- package/src/context-pressure.mjs +66 -0
- package/src/context.mjs +47 -0
- package/src/durable-agent-runs.mjs +40 -0
- package/src/execution-metrics.mjs +17 -0
- package/src/file-recovery-proof.mjs +45 -0
- package/src/file-recovery.mjs +95 -0
- package/src/gemini-provider.mjs +150 -0
- package/src/goals.mjs +169 -0
- package/src/governance.mjs +81 -0
- package/src/house.mjs +184 -0
- package/src/judges.mjs +72 -0
- package/src/mcp-http.mjs +190 -0
- package/src/mcp-rpc.mjs +84 -0
- package/src/mcp-runtime.mjs +219 -0
- package/src/mcp-sse.mjs +27 -0
- package/src/mcp.mjs +79 -0
- package/src/model-controls.mjs +173 -0
- package/src/model-deadline.mjs +35 -0
- package/src/model-output.mjs +23 -0
- package/src/openai-provider.mjs +249 -0
- package/src/operations.mjs +74 -0
- package/src/peer-message-context.mjs +17 -0
- package/src/peer-tools.mjs +164 -0
- package/src/permissions.mjs +63 -0
- package/src/plugin-config.mjs +95 -0
- package/src/plugins/chrome-lab/bridge.mjs +206 -0
- package/src/plugins/chrome-lab/client.mjs +123 -0
- package/src/plugins/chrome-lab/index.mjs +141 -0
- package/src/plugins/chrome-lab/project.mjs +45 -0
- package/src/plugins.mjs +272 -0
- package/src/process-lock.mjs +70 -0
- package/src/provider-auth.mjs +207 -0
- package/src/provider-profiles.mjs +113 -0
- package/src/provider-scheduler.mjs +18 -0
- package/src/provider.mjs +174 -0
- package/src/read-only-check.mjs +38 -0
- package/src/session-bus.mjs +367 -0
- package/src/session-provider-settings.mjs +39 -0
- package/src/session-read-cache.mjs +20 -0
- package/src/session.mjs +71 -0
- package/src/sessions.mjs +140 -0
- package/src/skill-runtime.mjs +130 -0
- package/src/subagents.mjs +480 -0
- package/src/tool-call-stream.mjs +39 -0
- package/src/tool-catalog.mjs +19 -0
- package/src/tool-input.mjs +20 -0
- package/src/tool-packs.mjs +163 -0
- package/src/tool-scheduler.mjs +21 -0
- package/src/tool-schema.mjs +51 -0
- package/src/tools.mjs +260 -0
- package/src/trusted-context.mjs +23 -0
- package/src/tui/brand.mjs +50 -0
- package/src/tui/clipboard.mjs +28 -0
- package/src/tui/composer.mjs +77 -0
- package/src/tui/controller.mjs +149 -0
- package/src/tui/discovery.mjs +217 -0
- package/src/tui/input.mjs +60 -0
- package/src/tui/markdown.mjs +126 -0
- package/src/tui/message-queue.mjs +56 -0
- package/src/tui/screen.mjs +586 -0
- package/src/tui/text.mjs +113 -0
- package/src/usage-accounting.mjs +43 -0
- package/src/vision.mjs +136 -0
- package/src/web-tools.mjs +120 -0
- package/src/work-assertions.mjs +29 -0
- package/src/work-check-contracts.mjs +95 -0
- package/src/work-intent.mjs +6 -0
- package/src/work-plan.mjs +419 -0
- package/src/work-recovery-proof.mjs +69 -0
- package/src/work-state.mjs +201 -0
- package/src/workflows/chrome-task.mjs +275 -0
|
@@ -0,0 +1,586 @@
|
|
|
1
|
+
import { workProjection } from '../work-plan.mjs';
|
|
2
|
+
import { Composer } from './composer.mjs';
|
|
3
|
+
import { MarkdownRenderer, DataTableParser } from './markdown.mjs';
|
|
4
|
+
import { TerminalInput } from './input.mjs';
|
|
5
|
+
import { copyText } from './clipboard.mjs';
|
|
6
|
+
import { tone, safeText, wrap, width, clip, pad, progressBar, stripANSI, terminalSurface } from './text.mjs';
|
|
7
|
+
import { brandingWelcome, brandingStatus, brandMotionEnabled, BRAND_FRAME_INTERVAL_MS, BRAND_WELCOME_FRAMES } from './brand.mjs';
|
|
8
|
+
import { commandCatalog, commandSuggestions, applySuggestion, contextualTip } from './discovery.mjs';
|
|
9
|
+
|
|
10
|
+
const SPINNER = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
|
11
|
+
const MOUSE_ON = '\x1b[?1000h\x1b[?1006h';
|
|
12
|
+
const MOUSE_OFF = '\x1b[?1000l\x1b[?1006l';
|
|
13
|
+
const HELP = `# Comal · teclado
|
|
14
|
+
|
|
15
|
+
| Acción | Tecla |
|
|
16
|
+
| --- | --- |
|
|
17
|
+
| Descubrir comandos y herramientas | F6 |
|
|
18
|
+
| Completar comando o argumento | / y Tab; ↑/↓ elige; Esc cierra |
|
|
19
|
+
| Enviar / encolar | Enter (las sugerencias sólo completan) |
|
|
20
|
+
| Nueva línea | Alt+Enter o Ctrl+J |
|
|
21
|
+
| Cambiar modo | Shift+Tab |
|
|
22
|
+
| Editar con $VISUAL/$EDITOR | Ctrl+G |
|
|
23
|
+
| Tablero de trabajo | F3 o /board |
|
|
24
|
+
| Continuar desde checkpoint | /work resume |
|
|
25
|
+
| Sesiones / reanudar | F2 o Ctrl+S |
|
|
26
|
+
| Cola de mensajes | F4 o Ctrl+Q |
|
|
27
|
+
| Desplegar resultados de herramientas | Ctrl+O |
|
|
28
|
+
| Scroll del historial | Rueda del mouse / PgUp / PgDn |
|
|
29
|
+
| Seleccionar texto con el mouse | F5 o /select; F5 o Esc vuelve |
|
|
30
|
+
| Copiar última respuesta completa | Alt+C o /copy |
|
|
31
|
+
| Ir al final | Ctrl+End |
|
|
32
|
+
| Historial del composer | ↑/↓ en primera/última línea |
|
|
33
|
+
| Inicio / final de línea | Home / End o Ctrl+A / Ctrl+E |
|
|
34
|
+
| Borrar palabra / inicio / final | Ctrl+W / Ctrl+U / Ctrl+K |
|
|
35
|
+
| Cancelar turno / pausar goal | Ctrl+C o Esc mientras trabaja |
|
|
36
|
+
| Salir | Ctrl+D con composer vacío o /exit |
|
|
37
|
+
|
|
38
|
+
Puedes seguir escribiendo durante el streaming. Los mensajes enviados se ejecutan en orden al terminar el turno actual. F4 permite pausar, editar, quitar y reordenar la cola.
|
|
39
|
+
|
|
40
|
+
/context muestra el presupuesto de contexto. /compact deriva el estado sin LLM y espera su turno si hay trabajo activo. /state muestra petición y estado; /audit verifica el libro. El historial original se conserva.
|
|
41
|
+
/house muestra recibos de ejecución y operaciones interrumpidas; /operations muestra contratos y efectos declarados. El éxito de ejecución no certifica el objetivo humano.
|
|
42
|
+
/plugins muestra plugins, dependencias y operaciones; enable/disable/reload esperan su turno y sólo el usuario puede cambiar su ciclo de vida.
|
|
43
|
+
/model ID y /effort NIVEL cambian la siguiente llamada; durante trabajo quedan en cola. /models lista modelos y /capabilities muestra soporte, procedencia y niveles. E indica esfuerzo; Ctx muestra la ventana efectiva (k/M tokens); ~ indica un límite configurado, ? capacidad desconocida/fallback. /context muestra valores exactos, reserva y fuente. /login PROVEEDOR autentica; /logout PROVEEDOR retira credenciales de Comal.
|
|
44
|
+
|
|
45
|
+
**La ayuda mantiene activo el composer.** Puedes escribir mientras la consultas; PgUp/PgDn la desplaza y Esc/F1 la cierra. Al enviar vuelve la conversación. La rueda desplaza la conversación; las flechas editan el borrador. F5 libera el mouse y congela la vista: arrastra para seleccionar y usa la acción de copiar de tu terminal (normalmente Ctrl+Shift+C). El trabajo continúa y la vista se actualiza al volver. /copy conserva Markdown y bloques de código, sin el ajuste de líneas de la pantalla. El pegado multilínea no se envía automáticamente.`;
|
|
46
|
+
|
|
47
|
+
export class TerminalScreen {
|
|
48
|
+
constructor({ input = process.stdin, output = process.stdout, metadata = {}, clipboard = copyText, env = process.env } = {}) {
|
|
49
|
+
Object.assign(this, { input, output, metadata, env }); this.composer = new Composer(); this.markdown = new MarkdownRenderer(); this.tables = new DataTableParser();
|
|
50
|
+
this.clipboard = clipboard; this.selecting = false;
|
|
51
|
+
this.blocks = []; this.toolBlocks = new Map(); this.subagentBlocks = new Map(); this.countedChildResults=new Set(); this.queue = { items: [], paused: false, interrupted: [] }; this.busy = false; this.ready = false;
|
|
52
|
+
this.mode = metadata.mode || 'default'; this.phase = 'Conectando con el modelo'; this.frame = 0; this.scroll = 0; this.lastContentLength = 0; this.expandedTools = false;
|
|
53
|
+
this.discovery = {}; this.completionIndex = 0; this.brandStarted = Date.now();
|
|
54
|
+
this.callbacks = {}; this.closed = false; this.suspended = false; this.previous = []; this.goal = null; this.usage = 0; this.turn = 0; this.maxTurns = 12;
|
|
55
|
+
this.finished = new Promise(resolve => this.resolveFinished = resolve);
|
|
56
|
+
}
|
|
57
|
+
start() {
|
|
58
|
+
this.started = true;
|
|
59
|
+
this.originalRaw = this.input.isRaw || false;
|
|
60
|
+
this.input.setRawMode?.(true); this.input.resume();
|
|
61
|
+
this.decoder = new TerminalInput({ onKey: (text, key) => { Promise.resolve(this.handleKey(text, key)).catch(error => this.notice(error.message, true)); }, onMouse: event => this.handleMouse(event), onPaste: text => this.paste(text), onError: error => this.notice(error.message, true) });
|
|
62
|
+
this.onData = chunk => { if (!this.suspended) this.decoder.feed(chunk); };
|
|
63
|
+
this.onResize = () => { if (this.selecting) this.setSelection(false); this.previous = []; this.schedule(); };
|
|
64
|
+
this.input.on('data', this.onData); this.output.on('resize', this.onResize);
|
|
65
|
+
this.output.write('\x1b[?1049h\x1b[?2004h\x1b[?25l' + MOUSE_ON);
|
|
66
|
+
this.timer = setInterval(() => {
|
|
67
|
+
const welcome = !this.blocks.length && this.motionEnabled() && this.brandFrame() < BRAND_WELCOME_FRAMES;
|
|
68
|
+
if ((this.busy || !this.ready || welcome) && !this.suspended && !this.selecting) { this.frame++; this.render(); }
|
|
69
|
+
}, 120);
|
|
70
|
+
this.render(); return this;
|
|
71
|
+
}
|
|
72
|
+
configure(callbacks) { this.callbacks = callbacks; this.ready = true; this.phase = 'Listo'; this.schedule(); }
|
|
73
|
+
schedule() {
|
|
74
|
+
if (this.closed || this.suspended || this.selecting || this.renderTimer) return;
|
|
75
|
+
this.renderTimer = setTimeout(() => { this.renderTimer = null; this.render(); }, 24);
|
|
76
|
+
}
|
|
77
|
+
motionEnabled() { return brandMotionEnabled({ env: this.env, stream: this.output }); }
|
|
78
|
+
brandFrame() { return Math.floor((Date.now() - this.brandStarted) / BRAND_FRAME_INTERVAL_MS); }
|
|
79
|
+
spinner() { return SPINNER[(this.motionEnabled() ? this.frame : 0) % SPINNER.length]; }
|
|
80
|
+
setDiscovery(context = {}) { this.discovery = structuredClone(context); this.schedule(); }
|
|
81
|
+
discoveryContext() { return { ...this.discovery, effortLevels: this.metadata.modelCapabilities?.effort?.levels || this.discovery.effortLevels, busy: this.busy, queue: this.queue, mode: this.mode, selecting: this.selecting, editingQueue: this.editingQueue }; }
|
|
82
|
+
refreshDiscovery() { this.callbacks.onDiscover?.(); }
|
|
83
|
+
hasModalOverlay() { return Boolean(this.overlay && this.overlay.kind !== 'help'); }
|
|
84
|
+
completion() {
|
|
85
|
+
const signature = JSON.stringify([this.composer.text, this.composer.cursor]);
|
|
86
|
+
if (signature !== this.completionSignature) { this.completionSignature = signature; this.completionIndex = 0; }
|
|
87
|
+
const result = commandSuggestions(this.composer.text, this.composer.cursor, this.discoveryContext());
|
|
88
|
+
const current = this.composer.buffer.slice(result.start, result.end).join('');
|
|
89
|
+
result.exact = result.items.find(item => item.value.trimEnd() === current);
|
|
90
|
+
if (result.exact) result.items = [];
|
|
91
|
+
if (signature === this.dismissedCompletion || this.permission || this.hasModalOverlay() || this.selecting) result.items = [];
|
|
92
|
+
this.completionIndex = Math.min(this.completionIndex, Math.max(0, result.items.length - 1));
|
|
93
|
+
return result;
|
|
94
|
+
}
|
|
95
|
+
acceptCompletion() {
|
|
96
|
+
const result = this.completion();
|
|
97
|
+
const item = result.items[this.completionIndex] || (result.exact?.value !== this.composer.buffer.slice(result.start, result.end).join('') ? result.exact : null);
|
|
98
|
+
if (!item) return false;
|
|
99
|
+
if (result.exact === item) result.items = [item];
|
|
100
|
+
const next = applySuggestion(this.composer.text, result, item);
|
|
101
|
+
this.composer.setText(next.text, next.cursor); this.draftChanged(); return true;
|
|
102
|
+
}
|
|
103
|
+
showPalette() { this.refreshDiscovery(); this.overlay = { kind: 'palette', filter: '', index: 0, tab: 'command', detail: null, scroll: 0 }; this.schedule(); }
|
|
104
|
+
paletteItems() {
|
|
105
|
+
const normalize = text => safeText(text).normalize('NFD').replace(/[\u0300-\u036f]/g, '').toLocaleLowerCase('es');
|
|
106
|
+
const terms = normalize(this.overlay?.filter || '').split(/\s+/).filter(Boolean);
|
|
107
|
+
return commandCatalog(this.discoveryContext()).filter(item => (this.overlay?.tab === 'tool' ? item.kind === 'tool' : item.kind !== 'tool') && terms.every(term => normalize(`${item.label} ${item.description} ${item.keywords || ''}`).includes(term)));
|
|
108
|
+
}
|
|
109
|
+
paletteTool() { return this.discovery.tools?.find(tool => tool.name === this.overlay?.detail); }
|
|
110
|
+
preparePaletteItem(item) {
|
|
111
|
+
if (item.inspectOnly) { this.overlay.detail = item.label; this.overlay.scroll = 0; this.schedule(); return; }
|
|
112
|
+
if (!this.preparedDraft) this.preparedDraft = { text: this.composer.text, cursor: this.composer.cursor, sessionId: this.metadata.sessionId };
|
|
113
|
+
this.composer.setText(item.value);
|
|
114
|
+
this.closeOverlay(); this.draftChanged();
|
|
115
|
+
}
|
|
116
|
+
updateMetadata(metadata) { if(['model','provider','profile','effort'].some(key=>metadata[key]!==undefined && metadata[key]!==this.metadata[key]))this.cacheReadTokens=null; Object.assign(this.metadata, metadata); if (metadata.mode) this.mode = metadata.mode; this.schedule(); }
|
|
117
|
+
setMode(mode) { this.mode = mode; this.schedule(); }
|
|
118
|
+
setQueue(snapshot) { this.queue = snapshot; this.schedule(); }
|
|
119
|
+
setBusy(value) { this.busy = value; if (value) { this.startedAt = Date.now(); this.turn = 0; this.phase = 'Preparando turno'; } else this.phase = 'Listo'; this.schedule(); }
|
|
120
|
+
notice(text, error = false) { this.blocks.push({ role: 'notice', text: safeText(text), error }); if (error && this.overlay) this.overlay.error = safeText(text); this.schedule(); }
|
|
121
|
+
setDraft(text) { this.composer.setText(text); this.schedule(); }
|
|
122
|
+
draftChanged() { this.callbacks.onDraft?.(this.composer.text); this.schedule(); }
|
|
123
|
+
addTable(text, format, title) { const data = this.tables.parse(text, format); this.blocks.push({ role: 'table', data, text: title }); this.schedule(); }
|
|
124
|
+
loadSession(session) {
|
|
125
|
+
this.cacheReadTokens=null;
|
|
126
|
+
this.preparedDraft = null; this.dismissedCompletion = null; this.blocks = []; this.toolBlocks.clear(); this.subagentBlocks.clear(); this.streaming = null; this.scroll = 0; this.lastContentLength = 0; this.goal = session.goal;
|
|
127
|
+
const rows = session.rows.filter(row => row.type === 'message').slice(-200);
|
|
128
|
+
for (const [responseId, row] of rows.entries()) {
|
|
129
|
+
const message = row.message;
|
|
130
|
+
if (message.role === 'user' && typeof message.content === 'string' && row.source !== 'goal') this.blocks.push({ role: 'user', text: message.content });
|
|
131
|
+
for (const block of Array.isArray(message.content) ? message.content : []) {
|
|
132
|
+
if (message.role === 'assistant' && block.type === 'text') this.blocks.push({ role: 'assistant', text: block.text, responseId });
|
|
133
|
+
if (message.role === 'assistant' && block.type === 'tool_use') { const item = { role: 'tool', id: block.id, name: block.name, input: block.input, state: 'interrupted' }; this.blocks.push(item); this.toolBlocks.set(block.id, item); }
|
|
134
|
+
if (message.role === 'user' && block.type === 'tool_result') { const item = this.toolBlocks.get(block.tool_use_id); if (item) { item.state = block.is_error ? 'error' : 'done'; item.output = block.content; } }
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
this.composer.history = rows.filter(row => row.message.role === 'user' && typeof row.message.content === 'string' && row.source !== 'goal').map(row => row.message.content).slice(-100);
|
|
138
|
+
this.composer.setText(session.draft || ''); this.metadata.sessionId = session.id; this.metadata.model = session.model; this.metadata.name = session.name;
|
|
139
|
+
this.context = null; this.work = workProjection(session);
|
|
140
|
+
if (session.compaction) this.notice(`Contexto reanudado desde el libro: ~${session.compaction.after_tokens} tokens. Historial original conservado.`);
|
|
141
|
+
this.countedChildResults.clear();let childUsage=0;
|
|
142
|
+
for (const row of session.rows.filter(row => row.type === 'subagent')) {
|
|
143
|
+
if(this.countChildResult(row))childUsage+=(row.usage?.input_tokens || 0)+(row.usage?.output_tokens || 0);
|
|
144
|
+
let child = this.subagentBlocks.get(row.session_id);
|
|
145
|
+
if (!child) { child = { role: 'subagent', id: row.session_id }; this.subagentBlocks.set(row.session_id, child); this.blocks.push(child); }
|
|
146
|
+
Object.assign(child, row, { role: 'subagent', state: row.status === 'running' ? 'interrupted' : row.status });
|
|
147
|
+
}
|
|
148
|
+
this.usage = session.rows.filter(row => row.type === 'result' && !row.usage_includes_subagents).reduce((n, row) => n + (row.usage?.input_tokens || 0) + (row.usage?.output_tokens || 0), 0)
|
|
149
|
+
+ childUsage;
|
|
150
|
+
this.schedule();
|
|
151
|
+
}
|
|
152
|
+
countChildResult(row){
|
|
153
|
+
if(row.runner_state!=='exited' && row.status!=='completed')return false;
|
|
154
|
+
const key=`${row.session_id}:${row.result_ref?.digest || row.result_ref?.row || row.turn_id || 'legacy'}`;
|
|
155
|
+
if(this.countedChildResults.has(key))return false;this.countedChildResults.add(key);return true;
|
|
156
|
+
}
|
|
157
|
+
handleEvent(event) {
|
|
158
|
+
if(event.type==='usage_accounting')this.cacheReadTokens=Number.isSafeInteger(event.accounting?.cache_read_tokens)?event.accounting.cache_read_tokens:null;
|
|
159
|
+
if (event.type === 'model_stream_progress') {
|
|
160
|
+
if (event.tool_argument_chars) this.phase = `Preparando herramientas · ${event.tool_argument_chars.toLocaleString()} caracteres`;
|
|
161
|
+
else if (event.reasoning_chars && !event.text_chars) this.phase = `Modelo razonando · ${event.reasoning_chars.toLocaleString()} caracteres`;
|
|
162
|
+
}
|
|
163
|
+
if (event.type === 'context_usage') this.context = event;
|
|
164
|
+
if (event.type === 'vision_status') {
|
|
165
|
+
const stamp = JSON.stringify([event.supported, event.source, event.images, event.references?.map(ref => ref.sha256)]);
|
|
166
|
+
if (stamp !== this.lastVisionStamp) { this.lastVisionStamp = stamp; this.notice(event.images ? `Visión · ${event.images} imágenes en la petición · reserva ~${event.token_reserve} tokens.` : `Captura guardada como referencia · ${event.supported ? 'sin espacio para píxeles en el contexto' : 'el proveedor no anuncia visión'}.`); }
|
|
167
|
+
}
|
|
168
|
+
if (event.type === 'context_projection_start') this.phase = 'Derivando estado del libro';
|
|
169
|
+
if (event.type === 'context_projection') this.notice(`Estado derivado · ~${event.after_tokens} tokens · 0 llamadas de resumen al LLM · evidencia guardada.`);
|
|
170
|
+
if (['model_retry', 'response_discarded'].includes(event.type)) {
|
|
171
|
+
if (this.streaming) { this.streaming.text += '\n\n[Respuesta incompleta descartada; no se ejecutaron sus herramientas.]'; this.streaming = null; }
|
|
172
|
+
if (event.type === 'model_retry') this.notice(`Respuesta descartada (${event.reason}) · reintento acotado · salida máxima ${event.max_tokens} tokens.`);
|
|
173
|
+
}
|
|
174
|
+
if (['mcp_reload', 'plugin_status'].includes(event.type)) this.refreshDiscovery();
|
|
175
|
+
if (event.type === 'mcp_reload') this.notice(`MCP actualizado · ${event.servers.filter(server => server.status === 'connected').length} servidores conectados · ${event.tools.length} herramientas disponibles en packs.`);
|
|
176
|
+
if (event.type === 'plugin_status') {
|
|
177
|
+
if (event.state === 'loading') this.phase = `Activando plugin ${event.id}`;
|
|
178
|
+
if (['active', 'disabled'].includes(event.state)) this.notice(`Plugin ${event.id} · ${event.state}${event.operations ? ` · ${event.operations.length} operaciones` : ''}`);
|
|
179
|
+
if (['failed', 'cleanup_failed', 'observer_failed'].includes(event.state)) this.notice(`Plugin ${event.id}: ${event.error}`, true);
|
|
180
|
+
}
|
|
181
|
+
if (event.type === 'mcp_reload_error') this.notice(`No se aplicó la recarga MCP: ${event.error}`, true);
|
|
182
|
+
if (event.type === 'mcp_progress') {
|
|
183
|
+
const tool = [...this.toolBlocks.values()].findLast(block => block.name === event.name && block.state === 'running');
|
|
184
|
+
if (tool) { tool.progress = event; tool.cacheKey = null; }
|
|
185
|
+
this.phase = safeText(event.message || `MCP ${event.server}`);
|
|
186
|
+
}
|
|
187
|
+
if (event.type === 'subagent_status') {
|
|
188
|
+
let child = this.subagentBlocks.get(event.session_id);
|
|
189
|
+
if (!child) { child = { role: 'subagent', id: event.session_id, text: '' }; this.subagentBlocks.set(event.session_id, child); this.blocks.push(child); }
|
|
190
|
+
Object.assign(child, event, { role: 'subagent', state: event.status });
|
|
191
|
+
if (this.countChildResult(event)) this.usage += (event.usage?.input_tokens || 0) + (event.usage?.output_tokens || 0);
|
|
192
|
+
}
|
|
193
|
+
if (event.type === 'subagent_event') {
|
|
194
|
+
const child = this.subagentBlocks.get(event.session_id), detail = event.event;
|
|
195
|
+
if (child) {
|
|
196
|
+
if (detail.type === 'model_progress') { child.turns = detail.turn; child.max_turns = detail.maxTurns; }
|
|
197
|
+
if (detail.type === 'tool_use') child.lastTool = detail.name;
|
|
198
|
+
if (detail.type === 'text_delta') child.text = ((child.text || '') + detail.text).slice(-4000);
|
|
199
|
+
child.cacheKey = null;
|
|
200
|
+
}
|
|
201
|
+
this.schedule(); return;
|
|
202
|
+
}
|
|
203
|
+
if (event.type === 'user' && event.source !== 'goal') this.blocks.push({ role: 'user', text: event.userIntent || event.text });
|
|
204
|
+
if (event.type === 'text_delta') {
|
|
205
|
+
if (!this.streaming) { this.streaming = { role: 'assistant', text: '' }; this.blocks.push(this.streaming); }
|
|
206
|
+
this.streaming.text += event.text; this.phase = 'Recibiendo respuesta';
|
|
207
|
+
}
|
|
208
|
+
if (event.type === 'assistant') {
|
|
209
|
+
if (!this.streaming) { const text = event.message.content.filter(b => b.type === 'text').map(b => b.text).join(''); if (text) this.blocks.push({ role: 'assistant', text }); }
|
|
210
|
+
this.streaming = null;
|
|
211
|
+
}
|
|
212
|
+
if (event.type === 'tool_use') { const item = { role: 'tool', id: event.id, name: event.name, input: event.input, state: 'running' }; this.blocks.push(item); this.toolBlocks.set(event.id, item); this.phase = `Ejecutando ${event.name}`; }
|
|
213
|
+
if (event.type === 'tool_result') { const item = this.toolBlocks.get(event.tool_use_id); if (item) { item.state = event.is_error ? 'error' : 'done'; item.output = event.content; } }
|
|
214
|
+
if (event.type === 'auto_decision') this.blocks.push({ role: 'notice', text: `Auto · ${event.decision}: ${event.reason}`, error: event.decision === 'deny' });
|
|
215
|
+
if (event.type === 'model_progress') { this.turn = event.turn; this.maxTurns = event.maxTurns; }
|
|
216
|
+
if (event.type === 'phase') {
|
|
217
|
+
if (event.state === 'start') this.phase = { worker: 'Esperando al modelo', classifier: 'Revisando permiso auto', 'goal-evaluation': 'Verificando /goal' }[event.phase] || event.phase;
|
|
218
|
+
else if (this.busy) this.phase = 'Procesando turno';
|
|
219
|
+
}
|
|
220
|
+
if (event.type === 'goal_status') {
|
|
221
|
+
const key = `${event.goal.id}:${event.goal.status}:${event.goal.lastReason}`;
|
|
222
|
+
if (event.goal.status !== 'active' && key !== this.lastGoalNotice) { this.lastGoalNotice = key; this.notice(`◎ /goal ${event.goal.status}: ${event.goal.lastReason}`, ['failed', 'budget'].includes(event.goal.status)); }
|
|
223
|
+
this.goal = event.goal;
|
|
224
|
+
}
|
|
225
|
+
if (event.type === 'result' && !event.usage_includes_subagents) this.usage += (event.usage?.input_tokens || 0) + (event.usage?.output_tokens || 0);
|
|
226
|
+
if (event.type === 'work_continuation') this.notice(`Continúa ${event.task_id} · ${event.calls}/${event.limit} llamadas · checkpoint conservado.`);
|
|
227
|
+
if(event.type==='peer_reply')this.notice(event.status==='failed'?`La casa no pudo enviar el informe: ${event.error}`:`La casa devolvió el informe al buzón ${event.to.slice(0,8)} · ${event.status}.`,event.status==='failed');
|
|
228
|
+
if (event.type === 'result' && event.work_stop_reason) this.notice(`Trabajo: ${event.work_stop_reason}.`);
|
|
229
|
+
if (event.type === 'work_open') this.notice(`Quedan ${event.remaining.length} tareas abiertas · /work resume continúa desde el checkpoint.`);
|
|
230
|
+
if (event.type === 'work_board' && (!event.session_id || event.session_id === this.metadata.sessionId)) this.work = event.board;
|
|
231
|
+
if (event.type === 'result' && event.work) this.work = event.work;
|
|
232
|
+
if (event.type === 'init') this.metadata.model = event.model;
|
|
233
|
+
if (this.blocks.length > 250) this.blocks.splice(0, this.blocks.length - 250);
|
|
234
|
+
this.schedule();
|
|
235
|
+
}
|
|
236
|
+
async confirm(name, input, signal) {
|
|
237
|
+
if (signal?.aborted || this.closed) return false;
|
|
238
|
+
if (this.selecting) this.setSelection(false);
|
|
239
|
+
return new Promise(resolve => {
|
|
240
|
+
const finish = allowed => { signal?.removeEventListener('abort', abort); this.permission = null; this.schedule(); resolve(allowed); };
|
|
241
|
+
const abort = () => finish(false);
|
|
242
|
+
this.permission = { name, input, allowed: false, scroll: 0, finish }; signal?.addEventListener('abort', abort, { once: true }); this.schedule();
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
showSessions(items) { this.overlay = { kind: 'sessions', items, filter: '', index: Math.max(0, items.findIndex(item => item.id !== this.metadata.sessionId)) }; this.schedule(); }
|
|
246
|
+
showQueue() { this.overlay = { kind: 'queue', index: 0 }; this.schedule(); }
|
|
247
|
+
showHelp() { this.overlay = { kind: 'help', scroll: 0 }; this.schedule(); }
|
|
248
|
+
closeOverlay() { this.overlay = null; this.callbacks.onAction?.('queueKick'); this.schedule(); }
|
|
249
|
+
filteredSessions() { const query = this.overlay?.filter?.toLowerCase() || ''; return (this.overlay?.items || []).filter(item => `${item.name || ''} ${item.prompt} ${item.id} ${item.model}`.toLowerCase().includes(query)); }
|
|
250
|
+
paste(text) {
|
|
251
|
+
if (this.selecting) return;
|
|
252
|
+
if (this.permission) return;
|
|
253
|
+
if (this.overlay?.kind === 'palette' && !this.overlay.detail) { this.overlay.filter += safeText(text).replace(/\n/g, ' ').slice(0, 150); this.overlay.index = 0; this.schedule(); return; }
|
|
254
|
+
if (this.overlay?.kind === 'sessions') { this.overlay.filter += safeText(text).replace(/\n/g, ' ').slice(0, 150); this.overlay.index = 0; this.schedule(); return; }
|
|
255
|
+
if (this.hasModalOverlay()) return;
|
|
256
|
+
try { this.composer.insert(text); this.draftChanged(); } catch (e) { this.notice(e.message, true); }
|
|
257
|
+
}
|
|
258
|
+
showBoard(board = this.work) { this.work = board; this.overlay = { kind: 'board', scroll: 0 }; this.schedule(); }
|
|
259
|
+
setSelection(value = !this.selecting) {
|
|
260
|
+
if (this.closed || this.suspended || this.permission) return;
|
|
261
|
+
this.selecting = value; clearTimeout(this.renderTimer); this.renderTimer = null;
|
|
262
|
+
if (value) { this.render(true); this.output.write(MOUSE_OFF + '\x1b[?25l'); }
|
|
263
|
+
else { this.output.write(MOUSE_ON); this.render(); this.callbacks.onAction?.('queueKick'); }
|
|
264
|
+
}
|
|
265
|
+
async copyResponse() {
|
|
266
|
+
const block = this.blocks.findLast(block => block.role === 'assistant' && block.text?.trim());
|
|
267
|
+
if (!block) throw new Error('Todavía no hay una respuesta para copiar.');
|
|
268
|
+
const partial = block === this.streaming;
|
|
269
|
+
const text = block.responseId === undefined ? block.text : this.blocks.filter(item => item.role === 'assistant' && item.responseId === block.responseId).map(item => item.text).join('');
|
|
270
|
+
await this.clipboard(text);
|
|
271
|
+
this.notice(partial ? 'Texto recibido hasta ahora copiado al portapapeles; la respuesta sigue llegando.' : 'Respuesta completa copiada al portapapeles (Markdown original).');
|
|
272
|
+
}
|
|
273
|
+
handleMouse(event) {
|
|
274
|
+
if (this.closed || this.suspended || this.selecting || event.type !== 'wheel') return;
|
|
275
|
+
const lines = event.delta * 3;
|
|
276
|
+
if (this.permission) this.permission.scroll = Math.max(0, this.permission.scroll + lines);
|
|
277
|
+
else if (['help', 'board'].includes(this.overlay?.kind)) this.overlay.scroll = Math.max(0, this.overlay.scroll + lines);
|
|
278
|
+
else if (this.overlay?.kind === 'sessions' || this.overlay?.kind === 'queue') {
|
|
279
|
+
const length = this.overlay.kind === 'sessions' ? this.filteredSessions().length : this.queue.items.length;
|
|
280
|
+
this.overlay.index = Math.max(0, Math.min(Math.max(0, length - 1), this.overlay.index + event.delta));
|
|
281
|
+
} else if (this.overlay?.kind === 'palette') {
|
|
282
|
+
if (this.overlay.detail) this.overlay.scroll = Math.max(0, this.overlay.scroll + lines);
|
|
283
|
+
else this.overlay.index = Math.max(0, Math.min(this.paletteItems().length - 1, this.overlay.index + event.delta));
|
|
284
|
+
} else this.scroll = Math.max(0, this.scroll - lines);
|
|
285
|
+
this.schedule();
|
|
286
|
+
}
|
|
287
|
+
async handleKey(text, key = {}) {
|
|
288
|
+
if (this.closed || this.suspended) return;
|
|
289
|
+
const name = key.name;
|
|
290
|
+
if (this.selecting) {
|
|
291
|
+
if (name === 'f5' || name === 'escape' || (key.ctrl && name === 'c')) this.setSelection(false);
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
if (key.ctrl && name === 'c' && this.overlay?.kind === 'palette' && !this.permission) { this.closeOverlay(); return; }
|
|
295
|
+
if (key.ctrl && name === 'c') { if (this.permission) this.permission.finish(false); if (this.busy) await this.callbacks.onAction?.('interrupt'); else if (this.composer.text) { this.composer.clear(); this.draftChanged(); } else await this.callbacks.onAction?.('exit'); return; }
|
|
296
|
+
if (this.permission) {
|
|
297
|
+
if (name === 'escape' || name === 'n') this.permission.finish(false);
|
|
298
|
+
else if (name === 'y') this.permission.finish(true);
|
|
299
|
+
else if (name === 'left' || name === 'right' || name === 'tab') this.permission.allowed = !this.permission.allowed;
|
|
300
|
+
else if (name === 'return') this.permission.finish(this.permission.allowed);
|
|
301
|
+
else if (name === 'pageup') this.permission.scroll = Math.max(0, this.permission.scroll - 10);
|
|
302
|
+
else if (name === 'pagedown') this.permission.scroll += 10;
|
|
303
|
+
this.schedule(); return;
|
|
304
|
+
}
|
|
305
|
+
if (name === 'f5') { this.setSelection(); return; }
|
|
306
|
+
if (key.meta && name === 'c') { await this.copyResponse(); return; }
|
|
307
|
+
if (this.overlay?.kind === 'palette') {
|
|
308
|
+
if (name === 'f6') { this.closeOverlay(); return; }
|
|
309
|
+
if (name === 'escape') { if (this.overlay.detail) { this.overlay.detail = null; this.overlay.scroll = 0; this.schedule(); } else this.closeOverlay(); return; }
|
|
310
|
+
if (this.overlay.detail) {
|
|
311
|
+
if (name === 'pageup' || name === 'up') this.overlay.scroll = Math.max(0, this.overlay.scroll - 3);
|
|
312
|
+
else if (name === 'pagedown' || name === 'down') this.overlay.scroll += 3;
|
|
313
|
+
else if (name === 'tab' && !key.shift) {
|
|
314
|
+
const tool = this.paletteTool();
|
|
315
|
+
if (!tool) { this.notice('Esa operación ya no está publicada. Vuelve al catálogo.', true); return; }
|
|
316
|
+
if (tool.audience === 'human') { this.notice('Control humano: usa el comando correspondiente o /plugins run; no se pide al modelo.', true); return; }
|
|
317
|
+
if (!this.preparedDraft) this.preparedDraft = { text: this.composer.text, cursor: this.composer.cursor, sessionId: this.metadata.sessionId };
|
|
318
|
+
this.composer.setText(`Usa la herramienta ${safeText(tool.name)} para ${this.composer.text}`);
|
|
319
|
+
this.closeOverlay(); this.draftChanged(); return;
|
|
320
|
+
}
|
|
321
|
+
} else if (name === 'tab') { this.overlay.tab = this.overlay.tab === 'tool' ? 'command' : 'tool'; this.overlay.index = 0; }
|
|
322
|
+
else if (name === 'up') this.overlay.index = Math.max(0, this.overlay.index - 1);
|
|
323
|
+
else if (name === 'down') this.overlay.index = Math.min(Math.max(0, this.paletteItems().length - 1), this.overlay.index + 1);
|
|
324
|
+
else if (name === 'return') { const item = this.paletteItems()[this.overlay.index]; if (item) this.preparePaletteItem(item); return; }
|
|
325
|
+
else if (name === 'backspace') { this.overlay.filter = [...this.overlay.filter].slice(0, -1).join(''); this.overlay.index = 0; }
|
|
326
|
+
else if (!key.ctrl && !key.meta && text && !text.startsWith('\x1b')) { this.overlay.filter += safeText(text).slice(0, 150); this.overlay.index = 0; }
|
|
327
|
+
this.schedule(); return;
|
|
328
|
+
}
|
|
329
|
+
if (this.overlay?.kind === 'help') {
|
|
330
|
+
if (name === 'escape' || name === 'f1') { this.closeOverlay(); return; }
|
|
331
|
+
if (name === 'pageup' || name === 'pagedown') { this.overlay.scroll = Math.max(0, this.overlay.scroll + (name === 'pageup' ? -5 : 5)); this.schedule(); return; }
|
|
332
|
+
}
|
|
333
|
+
if (this.hasModalOverlay()) {
|
|
334
|
+
if (name === 'escape') { this.closeOverlay(); return; }
|
|
335
|
+
if (['help', 'board'].includes(this.overlay.kind)) { if (name === 'pageup' || name === 'up') this.overlay.scroll = Math.max(0, this.overlay.scroll - 5); if (name === 'pagedown' || name === 'down') this.overlay.scroll += 5; this.schedule(); return; }
|
|
336
|
+
if (this.overlay.kind === 'sessions') {
|
|
337
|
+
const filtered = this.filteredSessions();
|
|
338
|
+
if (name === 'up') this.overlay.index = Math.max(0, this.overlay.index - 1);
|
|
339
|
+
else if (name === 'down') this.overlay.index = Math.min(Math.max(0, filtered.length - 1), this.overlay.index + 1);
|
|
340
|
+
else if (name === 'return' && filtered[this.overlay.index]) await this.callbacks.onAction?.('resume', filtered[this.overlay.index].id);
|
|
341
|
+
else if (name === 'backspace') { this.overlay.filter = this.overlay.filter.slice(0, -1); this.overlay.index = 0; }
|
|
342
|
+
else if (!key.ctrl && !key.meta && text && !text.startsWith('\x1b')) { this.overlay.filter += safeText(text).slice(0, 150); this.overlay.index = 0; }
|
|
343
|
+
} else if (this.overlay.kind === 'queue') {
|
|
344
|
+
const items = this.queue.items, item = items[this.overlay.index];
|
|
345
|
+
if (name === 'up' && !key.ctrl) this.overlay.index = Math.max(0, this.overlay.index - 1);
|
|
346
|
+
else if (name === 'down' && !key.ctrl) this.overlay.index = Math.min(Math.max(0, items.length - 1), this.overlay.index + 1);
|
|
347
|
+
else if (name === 'e' && item) await this.callbacks.onAction?.('queueEdit', item.id);
|
|
348
|
+
else if ((name === 'd' || name === 'delete') && item) await this.callbacks.onAction?.('queueRemove', item.id);
|
|
349
|
+
else if (name === 'space') await this.callbacks.onAction?.('queueToggle');
|
|
350
|
+
else if (key.ctrl && name === 'up' && item) await this.callbacks.onAction?.('queueMove', { id: item.id, delta: -1 });
|
|
351
|
+
else if (key.ctrl && name === 'down' && item) await this.callbacks.onAction?.('queueMove', { id: item.id, delta: 1 });
|
|
352
|
+
else if (name === 'r' && this.queue.interrupted?.length) await this.callbacks.onAction?.('queueRetry', this.queue.interrupted[0].id);
|
|
353
|
+
}
|
|
354
|
+
this.schedule(); return;
|
|
355
|
+
}
|
|
356
|
+
if (name === 'tab' && key.shift) { await this.callbacks.onAction?.('cycleMode'); return; }
|
|
357
|
+
if (name === 'f6') { this.showPalette(); return; }
|
|
358
|
+
if (name === 'f1') { this.showHelp(); return; }
|
|
359
|
+
if (name === 'f2' || (key.ctrl && name === 's')) { await this.callbacks.onAction?.('sessions'); return; }
|
|
360
|
+
if (name === 'f3') { await this.callbacks.onAction?.('board'); return; }
|
|
361
|
+
if (name === 'f4' || (key.ctrl && name === 'q')) { this.showQueue(); return; }
|
|
362
|
+
if (key.ctrl && name === 'o') { this.expandedTools = !this.expandedTools; this.schedule(); return; }
|
|
363
|
+
if (key.ctrl && name === 'g') { await this.callbacks.onAction?.('editor'); return; }
|
|
364
|
+
if (key.ctrl && name === 'd' && !this.composer.text) { await this.callbacks.onAction?.('exit'); return; }
|
|
365
|
+
if (name === 'escape' && this.completion().items.length) { this.dismissedCompletion = this.completionSignature; this.schedule(); return; }
|
|
366
|
+
if (name === 'escape' && this.preparedDraft) { const draft = this.preparedDraft; this.preparedDraft = null; this.composer.setText(draft.text, draft.cursor); this.draftChanged(); return; }
|
|
367
|
+
if (name === 'escape') { if (this.editingQueue) await this.callbacks.onAction?.('queueEditCancel'); else if (this.busy) await this.callbacks.onAction?.('interrupt'); return; }
|
|
368
|
+
if (name === 'pageup') { this.scroll += Math.max(5, (this.output.rows || 24) - 10); this.schedule(); return; }
|
|
369
|
+
if (name === 'pagedown') { this.scroll = Math.max(0, this.scroll - Math.max(5, (this.output.rows || 24) - 10)); this.schedule(); return; }
|
|
370
|
+
if (name === 'end' && key.ctrl) { this.scroll = 0; this.schedule(); return; }
|
|
371
|
+
const completion = this.completion();
|
|
372
|
+
if (!key.ctrl && !key.meta && completion.items.length && ['up', 'down'].includes(name)) {
|
|
373
|
+
this.completionIndex = (this.completionIndex + (name === 'down' ? 1 : -1) + completion.items.length) % completion.items.length; this.schedule(); return;
|
|
374
|
+
}
|
|
375
|
+
if (name === 'tab' && !key.shift) {
|
|
376
|
+
this.refreshDiscovery();
|
|
377
|
+
if (!this.acceptCompletion() && !this.composer.text.trimStart().startsWith('/')) { this.composer.insert(' '); this.draftChanged(); }
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
if (name === 'return' && !key.shift && !key.meta && completion.items.length) { this.acceptCompletion(); return; }
|
|
381
|
+
if (name === 'return' && !key.shift && !key.meta) {
|
|
382
|
+
const value = this.composer.text; if (!value.trim()) return;
|
|
383
|
+
if (!this.ready) { this.notice('Todavía conectando; el borrador se conserva.'); return; }
|
|
384
|
+
if (this.overlay?.kind === 'help') this.closeOverlay();
|
|
385
|
+
const draft = this.preparedDraft;
|
|
386
|
+
this.composer.remember(value); this.composer.clear(); this.draftChanged();
|
|
387
|
+
try {
|
|
388
|
+
await this.callbacks.onSubmit?.(value);
|
|
389
|
+
if (draft && draft.sessionId === this.metadata.sessionId && !this.composer.text) { this.preparedDraft = null; this.composer.setText(draft.text, draft.cursor); this.draftChanged(); }
|
|
390
|
+
} catch (e) { if (!this.composer.text) this.composer.setText(value); this.preparedDraft = draft; this.notice(e.message, true); this.draftChanged(); }
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
this.composer.key(text, key, Math.max(2, (this.output.columns || 80) - 7)); this.draftChanged();
|
|
394
|
+
}
|
|
395
|
+
contentLines(columns) {
|
|
396
|
+
const output = [];
|
|
397
|
+
if (!this.blocks.length) {
|
|
398
|
+
const mark = brandingWelcome({ columns: Math.max(0, columns - 4), frame: this.brandFrame(), active: this.busy, env: this.env, stream: this.output });
|
|
399
|
+
const intro = [tone.bold(' ¿Qué construimos hoy?'), '', ...wrap(' Escribe una tarea; / o F6 te muestran qué puedes hacer.', columns), '', tone.muted(' F6 descubrir · F2 sesiones · Shift+Tab modo')];
|
|
400
|
+
const branded = ['', ...mark.map(line => ' ' + line), '', ...intro];
|
|
401
|
+
if (branded.length <= this.bodyHeight) output.push(...branded);
|
|
402
|
+
else output.push('', tone.accent(' COMAL · sobre el comal se cocina'), '', ...intro);
|
|
403
|
+
}
|
|
404
|
+
for (const block of this.blocks) {
|
|
405
|
+
const cacheKey = `${columns}:${this.expandedTools}:${block.text || ''}:${block.state || ''}:${block.output || ''}`;
|
|
406
|
+
if (block.cacheKey === cacheKey) { output.push(...block.cached); continue; }
|
|
407
|
+
let lines;
|
|
408
|
+
if (block.role === 'user') lines = [tone.accent(' Tú'), ...wrap(safeText(block.text), columns - 4).map(line => ' ' + line), ''];
|
|
409
|
+
else if (block.role === 'assistant') lines = [tone.bold(' Comal'), ...this.markdown.render(block.text, columns - 4).map(line => ' ' + line), ''];
|
|
410
|
+
else if (block.role === 'notice') lines = wrap((block.error ? tone.bad : tone.muted)(safeText(` ${block.error ? '✗' : '·'} ${block.text}`)), columns);
|
|
411
|
+
else if (block.role === 'table') lines = [tone.accent(' ' + block.text), ...this.tables.render(block.data, columns - 4).map(line => ' ' + line), ''];
|
|
412
|
+
else if (block.role === 'subagent') {
|
|
413
|
+
const icon = ['running','queued','waiting'].includes(block.runner_state || block.state) ? this.spinner() : block.work_state==='checks_verified' ? '✓' : block.state==='paused' ? '◇' : block.state==='completed' ? '·' : '✗';
|
|
414
|
+
lines = [' ' + tone.accent(clip(safeText(`${icon} Subagente ${block.id.slice(0, 8)} · ${block.subagent_type} · ${block.description}`), columns - 4)), ' ' + tone.muted(clip(safeText(`${block.runner_state || block.state} · ${block.turn_state || block.status || block.state} · ${block.work_state || 'unjudged'} · calls ${block.turns || 0}/${block.max_turns || 6}${block.lastTool ? ' · ' + block.lastTool : ''}`), columns - 6))];
|
|
415
|
+
if (this.expandedTools || ['failed', 'cancelled', 'interrupted','paused'].includes(block.state)) lines.push(...wrap(safeText(block.error || block.result || block.text || ''), columns - 6).slice(0, 15).map(line => ' ' + line));
|
|
416
|
+
}
|
|
417
|
+
else {
|
|
418
|
+
const icon = block.state === 'running' ? this.spinner() : block.state === 'done' ? '✓' : '✗';
|
|
419
|
+
const label = safeText(`${icon} ${block.name} ${block.input?.file_path || block.input?.command || block.input?.pattern || ''}`);
|
|
420
|
+
lines = [' ' + (block.state === 'error' || block.state === 'interrupted' ? tone.bad : tone.muted)(clip(label, columns - 4))];
|
|
421
|
+
if (block.state === 'running' && block.progress) {
|
|
422
|
+
const p = block.progress, bar = p.total > 0 ? ` ${progressBar(p.progress, p.total, 14)} ${p.progress}/${p.total}` : ` ${p.progress}`;
|
|
423
|
+
lines.push(' ' + tone.accent(clip(safeText(bar + ' ' + p.message), columns - 6)));
|
|
424
|
+
}
|
|
425
|
+
if (this.expandedTools || block.state === 'error') lines.push(...wrap(safeText(String(block.output || JSON.stringify(block.input))).slice(0, 6000), columns - 6).map(line => ' ' + tone.muted(line)));
|
|
426
|
+
}
|
|
427
|
+
block.cacheKey = block.state === 'running' ? null : cacheKey; block.cached = lines; output.push(...lines);
|
|
428
|
+
}
|
|
429
|
+
return output;
|
|
430
|
+
}
|
|
431
|
+
overlayLines(columns, height) {
|
|
432
|
+
if (this.overlay?.kind === 'palette' && !this.permission) {
|
|
433
|
+
if (this.overlay.detail) {
|
|
434
|
+
const tool = this.paletteTool();
|
|
435
|
+
if (!tool) return [tone.warning(' Operación retirada del catálogo'), tone.muted(' Esc vuelve; no se ejecutó nada.')];
|
|
436
|
+
const lines = [tone.accent(' ' + safeText(tool.name)), ...wrap(safeText(tool.description), columns - 4).map(line => ' ' + line), '', tone.muted(` Audiencia: ${safeText(tool.audience || 'any')} · origen: ${safeText(tool.origin?.plugin || tool.origin?.kind || 'núcleo/MCP')}`), tone.muted(' Consultar no autoriza. La ejecución conserva el juicio de la casa.'), ...wrap(safeText('Efectos declarados: ' + Object.entries(tool.effects || {}).map(([key,value]) => `${key}=${value}`).join(' · ')), columns - 4).map(line => ' ' + tone.muted(line)), '', tone.bold(' Argumentos · * obligatorio')];
|
|
437
|
+
for (const [name, schema] of Object.entries(tool.input_schema?.properties || {})) lines.push(...wrap(safeText(`${tool.input_schema?.required?.includes(name) ? '* ' : ' '}${name} · ${schema.type || 'valor'}${schema.enum ? ' · ' + schema.enum.join(' | ') : ''}${schema.description ? ' · ' + schema.description : ''}`), columns - 6).map(line => ' ' + line));
|
|
438
|
+
if (!Object.keys(tool.input_schema?.properties || {}).length) lines.push(tone.muted(' Sin campos declarados.'));
|
|
439
|
+
lines.push('', tone.muted(tool.audience === 'human' ? ' Control humano · Esc vuelve al catálogo' : ' Tab prepara una petición · no envía · Esc vuelve'));
|
|
440
|
+
this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height)); return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
|
|
441
|
+
}
|
|
442
|
+
const items = this.paletteItems(); this.overlay.index = Math.max(0, Math.min(this.overlay.index, items.length - 1));
|
|
443
|
+
const visible = Math.max(1, height - 5), start = Math.max(0, this.overlay.index - visible + 1);
|
|
444
|
+
return [tone.accent(` Descubrir · ${this.overlay.tab === 'tool' ? 'HERRAMIENTAS' : 'COMANDOS'} · ${items.length}`), tone.muted(' Tab cambia sección · ↑/↓ elige · Enter prepara/inspecciona · Esc vuelve'), ` Buscar: ${safeText(this.overlay.filter) || tone.muted('escribe para filtrar')}`, '', ...items.slice(start, start + visible).map((item, i) => {
|
|
445
|
+
const selected = start + i === this.overlay.index, labelWidth = Math.max(10, Math.floor(columns * .36));
|
|
446
|
+
const label = ` ${selected ? '❯' : ' '} ${safeText(item.label)}`;
|
|
447
|
+
const line = columns >= 55 ? pad(clip(label, labelWidth), labelWidth) + ' ' + safeText(item.description) : label;
|
|
448
|
+
return (selected ? tone.accent : String)(clip(line, columns));
|
|
449
|
+
}), ...(!items.length ? [tone.muted(' Sin coincidencias. Cambia de sección con Tab.')] : [])];
|
|
450
|
+
}
|
|
451
|
+
if (this.overlay?.kind === 'board' && !this.permission) {
|
|
452
|
+
const board = this.work, lines = [tone.accent(` Trabajo · plan v${board?.plan?.version || 0}`), ...wrap(safeText(board?.plan?.objective || 'Sin plan. Pide una tarea con pasos y comprobaciones.'), columns - 4).map(line => ' ' + line), tone.muted(' /work resume continúa · rueda/PgUp/PgDn desplaza · Esc vuelve'), ''];
|
|
453
|
+
const labels = { pending: 'PENDIENTE', in_progress: 'EN CURSO', blocked: 'BLOQUEADO', done: 'HECHO · checks registrados', needs_verification: 'POR VERIFICAR' };
|
|
454
|
+
for (const [status, label] of Object.entries(labels)) { const cards = board?.cards.filter(card => card.status === status) || []; if (!cards.length) continue; lines.push(tone.accent(` ${label} (${cards.length})`)); for (const card of cards) { lines.push(...wrap(safeText(`${card.id} · ${card.title}`), columns - 6).map(line => ' ' + line)); if (card.held_by?.length || card.reason) lines.push(...wrap(safeText(card.reason || `Espera: ${card.held_by.join(', ')}`), columns - 8).map(line => ' ' + tone.muted(line))); } lines.push(''); }
|
|
455
|
+
if (board?.next_action) lines.push(...wrap(safeText('Siguiente: ' + board.next_action), columns - 4).map(line => ' ' + line));
|
|
456
|
+
this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height)); return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
|
|
457
|
+
}
|
|
458
|
+
if (this.permission) {
|
|
459
|
+
const permission = this.permission, details = wrap(safeText(JSON.stringify(permission.input, null, 2)), columns - 6);
|
|
460
|
+
permission.scroll = Math.min(permission.scroll, Math.max(0, details.length - height + 5));
|
|
461
|
+
return [tone.warning(` Autorizar ${permission.name}`), tone.muted(` Detalle ${permission.scroll + 1}/${details.length} · PgUp/PgDn para revisar`), '', ...details.slice(permission.scroll, permission.scroll + height - 5).map(line => ' ' + line), '', ` ${permission.allowed ? tone.good('❯ Sí') : ' Sí'} ${!permission.allowed ? tone.warning('❯ No') : ' No'} · Enter confirma · y/n · Esc deniega`];
|
|
462
|
+
}
|
|
463
|
+
if (this.overlay.kind === 'help') {
|
|
464
|
+
const lines = [tone.muted(' Ayuda · composer activo · escribe abajo · PgUp/PgDn desplaza · Esc/F1 cierra'), '', ...this.markdown.render(HELP, columns - 4).map(line => ' ' + line)];
|
|
465
|
+
this.overlay.scroll = Math.min(this.overlay.scroll, Math.max(0, lines.length - height));
|
|
466
|
+
return lines.slice(this.overlay.scroll, this.overlay.scroll + height);
|
|
467
|
+
}
|
|
468
|
+
if (this.overlay.kind === 'sessions') {
|
|
469
|
+
const items = this.filteredSessions(); const visible = Math.max(1, height - 5), start = Math.max(0, this.overlay.index - visible + 1);
|
|
470
|
+
return [tone.accent(' Sesiones · ' + this.overlay.items.length), ` Buscar: ${this.overlay.filter || tone.muted('escribe para filtrar')}`, this.overlay.error ? tone.bad(' ' + this.overlay.error) : tone.muted(' ↑/↓ elegir · Enter reanuda con historial · Esc vuelve'), '', ...items.slice(start, start + visible).map((item, i) => {
|
|
471
|
+
const selected = start + i === this.overlay.index, title = `${item.invalid ? '✗ ' : ''}${item.name || item.prompt || '(vacía)'}`;
|
|
472
|
+
const left = pad(safeText(`${selected ? '❯' : ' '} ${title}`), Math.max(8, columns - 40));
|
|
473
|
+
const right = safeText(`${item.id.slice(0, 8)} ${item.messages} msgs ${item.model}`);
|
|
474
|
+
return ' ' + (selected ? tone.accent : String)(clip(left + right, columns - 4));
|
|
475
|
+
}), ...(!items.length ? [tone.muted(' No hay coincidencias.')] : [])];
|
|
476
|
+
}
|
|
477
|
+
const status = this.queue.paused ? 'pausada' : 'activa';
|
|
478
|
+
const lines = [tone.accent(` Cola de mensajes · ${status}`), tone.muted(' e editar · d quitar · Ctrl+↑/↓ ordenar · Espacio pausar/reanudar · Esc volver'), ''];
|
|
479
|
+
if (this.queue.running) lines.push(tone.muted(' En ejecución: ' + clip(safeText(this.queue.running.text), columns - 20)), '');
|
|
480
|
+
this.queue.items.forEach((item, index) => { lines.push((index === this.overlay.index ? tone.accent : String)(` ${index === this.overlay.index ? '❯' : ' '} ${index + 1}. ${clip(safeText(item.text).replace(/\n/g, ' ↵ '), columns - 9)}`)); });
|
|
481
|
+
if (!this.queue.items.length) lines.push(tone.muted(' Cola vacía. Envía un mensaje mientras el agente trabaja.'));
|
|
482
|
+
if (this.queue.interrupted?.length) lines.push('', tone.warning(` ${this.queue.interrupted.length} mensaje(s) interrumpidos; no se reenviaron. R reencola el primero.`));
|
|
483
|
+
return lines.slice(0, height);
|
|
484
|
+
}
|
|
485
|
+
render(selectionEntry = false) {
|
|
486
|
+
if (this.closed || this.suspended || (this.selecting && !selectionEntry)) return;
|
|
487
|
+
const columns = Math.max(1, (this.output.columns || 80) - 1), rows = this.output.rows || 24;
|
|
488
|
+
if (columns < 23 || rows < 10) { this.draw([clip('Amplía el terminal a 24×10', columns)], null, columns, rows); return; }
|
|
489
|
+
const composer = this.composer.layout(columns - 6), composerHeight = Math.min(6, rows - 8, Math.max(2, composer.lines.length));
|
|
490
|
+
const location = ` ${clip(safeText(this.metadata.cwd || ''), Math.max(4, columns - 27))} · ${safeText(this.metadata.sessionId?.slice(0, 8) || 'conectando')}`;
|
|
491
|
+
const report = this.metadata.modelCapabilities;
|
|
492
|
+
const budget = this.metadata.contextBudget;
|
|
493
|
+
const capacity = budget?.contextWindow;
|
|
494
|
+
const amount = Number.isSafeInteger(capacity) && capacity > 0 ? capacity >= 1000000 ? `${Number((capacity/1000000).toFixed(2))}M` : capacity >= 1000 ? `${Number((capacity/1000).toFixed(1))}k` : String(capacity) : '?';
|
|
495
|
+
const capacityLabel = `Ctx:${amount}${amount === '?' ? '' : budget.kind === 'fallback' ? '?' : budget.kind === 'configured' || budget.source === 'comal_limit' ? '~' : ''}`;
|
|
496
|
+
const indicators = [`E:${safeText(this.metadata.effort || 'auto')}`, capacityLabel];
|
|
497
|
+
if (this.metadata.workflow) indicators.push(safeText(this.metadata.workflow));
|
|
498
|
+
for (const [key, label] of [['thinking', 'think'], ['vision', 'visión'], ['video', 'video'], ['web_search', 'web']]) {
|
|
499
|
+
if (report?.capabilities?.[key] === true) indicators.push(label + (report.provenance?.[key]?.kind === 'configured' ? '~' : ''));
|
|
500
|
+
}
|
|
501
|
+
if (report && Object.values(report.capabilities).some(value => value === null)) indicators.push('caps?');
|
|
502
|
+
const modelLabel = clip(' ' + indicators.join(' · '), Math.max(8, Math.floor(columns / 2)));
|
|
503
|
+
const locationLine = columns >= 50 ? pad(clip(location, columns - width(modelLabel) - 1), columns - width(modelLabel)) + modelLabel : location;
|
|
504
|
+
const header = [tone.bold(' COMAL') + (this.metadata.name ? tone.accent(safeText(` @${this.metadata.name}`)) : '') + tone.muted(safeText(` ${this.metadata.model || 'modelo local'} · ${this.metadata.authProvider || this.metadata.provider || 'openai'} · `)) + tone.accent(this.mode), tone.muted(locationLine), tone.muted('─'.repeat(columns))];
|
|
505
|
+
const completions = this.completion();
|
|
506
|
+
const availableBody = Math.max(1, rows - header.length - composerHeight - 4);
|
|
507
|
+
const completionHeight = completions.items.length ? Math.min(5, Math.max(0, availableBody - 1)) : 0;
|
|
508
|
+
const bodyHeight = Math.max(1, availableBody - completionHeight); this.bodyHeight = bodyHeight;
|
|
509
|
+
const sideWidth = columns >= 110 && !this.overlay && !this.permission ? 28 : 0;
|
|
510
|
+
const bodyWidth = columns - (sideWidth ? sideWidth + 2 : 0);
|
|
511
|
+
let content, body;
|
|
512
|
+
if (this.overlay || this.permission) body = this.overlayLines(columns, bodyHeight);
|
|
513
|
+
else {
|
|
514
|
+
content = this.contentLines(bodyWidth);
|
|
515
|
+
if (this.scroll > 0 && content.length > this.lastContentLength) this.scroll += content.length - this.lastContentLength;
|
|
516
|
+
this.lastContentLength = content.length; this.scroll = Math.min(this.scroll, Math.max(0, content.length - bodyHeight));
|
|
517
|
+
const end = content.length - this.scroll; body = content.slice(Math.max(0, end - bodyHeight), end);
|
|
518
|
+
}
|
|
519
|
+
while (body.length < bodyHeight) body.push(''); body = body.slice(0, bodyHeight);
|
|
520
|
+
if (sideWidth) {
|
|
521
|
+
const side = [tone.accent(` Cola · ${this.queue.items.length}${this.queue.paused ? ' pausada' : ''}`), tone.muted(' F4 gestionar'), ''];
|
|
522
|
+
if (this.queue.running) side.push(tone.muted(' En ejecución'), ...wrap(safeText(this.queue.running.text), sideWidth - 2).slice(0, 2).map(line => ' ' + line), '');
|
|
523
|
+
this.queue.items.slice(0, 6).forEach((item, i) => side.push(tone.accent(` ${i + 1}. `) + clip(safeText(item.text).replace(/\n/g, ' ↵ '), sideWidth - 5), ''));
|
|
524
|
+
body = body.map((line, i) => pad(line, bodyWidth) + tone.muted(' │') + clip(side[i] || '', sideWidth));
|
|
525
|
+
}
|
|
526
|
+
const elapsed = this.startedAt ? ((Date.now() - this.startedAt) / 1000).toFixed(1) : '0.0';
|
|
527
|
+
const active = this.busy || !this.ready;
|
|
528
|
+
const contextLabel = this.context ? ` · ctx ${this.context.estimated===false?'':'~'}${this.context.percent}%${this.context.accounting_method==='measured_prefix_estimated_tail'?' · base medida':''}${Number.isSafeInteger(this.cacheReadTokens)?' · caché '+this.cacheReadTokens.toLocaleString():''}` : '';
|
|
529
|
+
const status = (active ? `${brandingStatus({frame:this.brandFrame(),active:true,env:this.env,stream:this.output})} ${this.spinner()} ${this.phase} · ${elapsed}s` : `● Listo · ${this.usage.toLocaleString()} tokens`) + contextLabel;
|
|
530
|
+
const measure = this.goal?.status === 'active' ? `goal calls ${this.goal.calls}/${this.goal.limits.maxCalls} ${progressBar(this.goal.calls, this.goal.limits.maxCalls, 12)}` : this.busy ? `calls ${this.turn}/${this.maxTurns} ${progressBar(this.turn, this.maxTurns, 12)}` : `${this.queue.items.length} en cola${this.queue.paused ? ' · pausada' : ''}`;
|
|
531
|
+
const workLabel = this.work?.plan ? ` · trabajo ${this.work.counts.done}/${this.work.cards.length}${this.work.current ? ' · ' + this.work.current.id : ''}` : '';
|
|
532
|
+
const bar = tone.accent(' ' + status + workLabel) + ' ' + tone.muted(measure) + (this.scroll ? tone.warning(' · historial ↑') : '');
|
|
533
|
+
let composerHeading = this.editingQueue ? tone.warning(' Editando mensaje en cola · Enter guarda · Esc cancela') : tone.muted(` Composer · ${this.busy ? 'Enter encola' : 'Enter envía'} · Alt+Enter multilínea · Ctrl+G editor`);
|
|
534
|
+
const sessionName = safeText(this.metadata.name || '').replace(/[\r\n]+/g, ' ').trim();
|
|
535
|
+
if (sessionName) {
|
|
536
|
+
const labelWidth = Math.min(Math.floor(columns / 2), columns - 12);
|
|
537
|
+
const label = tone.accent(tone.bold(`[ @${clip(sessionName, labelWidth - 5, '…')} ]`));
|
|
538
|
+
const headingWidth = columns - width(label) - 1;
|
|
539
|
+
composerHeading = pad(clip(composerHeading, headingWidth, '…'), headingWidth) + ' ' + label;
|
|
540
|
+
}
|
|
541
|
+
const footer = [clip(bar, columns), tone.muted('─'.repeat(columns)), composerHeading];
|
|
542
|
+
const offset = Math.max(0, composer.cursorRow - composerHeight + 1);
|
|
543
|
+
const inputLines = Array.from({ length: composerHeight }, (_, i) => tone.muted(i === 0 ? ' ❯ ' : ' │ ') + (composer.lines[offset + i] || ''));
|
|
544
|
+
const hints = this.selecting ? tone.warning(' SELECCIÓN · Arrastra y copia desde tu terminal · F5/Esc vuelve') : tone.muted(' ' + (completions.items.length ? 'Tab o Enter completa · ↑/↓ elige · Esc cierra · no envía' : (this.overlay?.kind === 'help' ? 'Ayuda abierta · composer activo · PgUp/PgDn desplaza · Esc/F1 cierra' : this.preparedDraft ? 'Acción preparada · Esc recupera tu borrador · Enter envía y lo restaura' : contextualTip(this.composer.text, this.discoveryContext()))));
|
|
545
|
+
const suggestionLines = [];
|
|
546
|
+
if (completionHeight) {
|
|
547
|
+
suggestionLines.push(tone.muted(` Sugerencias · ${completions.items.length} · Tab completa`));
|
|
548
|
+
const visible = completionHeight - 1, start = Math.max(0, this.completionIndex - visible + 1);
|
|
549
|
+
for (const [i,item] of completions.items.slice(start, start + visible).entries()) {
|
|
550
|
+
const selected = start + i === this.completionIndex;
|
|
551
|
+
const label = ` ${selected ? '❯' : ' '} ${safeText(item.label)}`;
|
|
552
|
+
const labelWidth = Math.max(10, Math.floor(columns * .35));
|
|
553
|
+
const line = columns >= 55 ? pad(clip(label,labelWidth),labelWidth) + ' ' + safeText(item.description) : label;
|
|
554
|
+
suggestionLines.push((selected ? tone.accent : tone.muted)(clip(line,columns)));
|
|
555
|
+
}
|
|
556
|
+
while (suggestionLines.length < completionHeight) suggestionLines.push('');
|
|
557
|
+
}
|
|
558
|
+
const all = [...header, ...body, ...suggestionLines, ...footer, ...inputLines, clip(hints, columns)];
|
|
559
|
+
const cursor = this.selecting || this.hasModalOverlay() || this.permission ? null : { row: header.length + bodyHeight + completionHeight + footer.length + composer.cursorRow - offset + 1, col: composer.cursorColumn + 4 };
|
|
560
|
+
this.draw(all, cursor, columns, rows);
|
|
561
|
+
}
|
|
562
|
+
draw(lines, cursor, columns, rows) {
|
|
563
|
+
const normalized = Array.from({ length: rows }, (_, index) => clip((lines[index] || '').replace(/\n/g, ' ↵ '), columns));
|
|
564
|
+
let output = '\x1b[?25l';
|
|
565
|
+
const surface = terminalSurface({env:this.env,stream:this.output});
|
|
566
|
+
normalized.forEach((line, index) => { if (line !== this.previous[index]) {
|
|
567
|
+
const styled = surface ? line.replaceAll('\x1b[0m','\x1b[0m'+surface) : stripANSI(line);
|
|
568
|
+
output += `\x1b[${index + 1};1H${surface}\x1b[2K${styled}\x1b[0m`;
|
|
569
|
+
} });
|
|
570
|
+
this.previous = normalized;
|
|
571
|
+
if (cursor) output += `\x1b[${Math.min(rows, cursor.row)};${Math.min(columns, cursor.col)}H\x1b[?25h`;
|
|
572
|
+
this.output.write(output);
|
|
573
|
+
}
|
|
574
|
+
suspend() {
|
|
575
|
+
this.suspended = true; clearTimeout(this.renderTimer); this.renderTimer = null;
|
|
576
|
+
this.input.setRawMode?.(this.originalRaw); this.input.pause(); this.output.write(MOUSE_OFF + '\x1b[?2004l\x1b[?25h\x1b[?1049l');
|
|
577
|
+
}
|
|
578
|
+
resume() { this.input.setRawMode?.(true); this.input.resume(); this.suspended = false; this.previous = []; this.output.write('\x1b[?1049h\x1b[?2004h' + MOUSE_ON); this.render(); }
|
|
579
|
+
close() {
|
|
580
|
+
if (this.closed) return; this.closed = true;
|
|
581
|
+
this.permission?.finish(false); clearInterval(this.timer); clearTimeout(this.renderTimer); this.decoder?.close();
|
|
582
|
+
if (this.onData) this.input.off('data', this.onData); if (this.onResize) this.output.off('resize', this.onResize);
|
|
583
|
+
if (this.started) { this.input.setRawMode?.(this.originalRaw); this.input.pause(); if (!this.suspended) this.output.write('\x1b[0m' + MOUSE_OFF + '\x1b[?2004l\x1b[?25h\x1b[?1049l'); }
|
|
584
|
+
this.resolveFinished();
|
|
585
|
+
}
|
|
586
|
+
}
|