@openclaw/zoom-meetings 0.0.0 → 2026.8.1-beta.2
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 +26 -1
- package/dist/cli-metadata.js +10 -0
- package/dist/cli-p_IBo6Sg.js +33 -0
- package/dist/errors-DcrAT0wd.js +16 -0
- package/dist/index.js +1267 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +35 -0
- package/node_modules/typebox/build/compile/validator.mjs +91 -0
- package/node_modules/typebox/build/error/errors.d.mts +208 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +246 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +77 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +54 -0
- package/node_modules/typebox/build/guard/emit.mjs +186 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +65 -0
- package/node_modules/typebox/build/guard/guard.mjs +212 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +176 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +66 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +48 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +54 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +347 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +70 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +53 -0
- package/node_modules/typebox/build/schema/types/index.mjs +59 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +40 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +40 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +40 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +40 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +39 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +40 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +40 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +40 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +40 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +40 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +40 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +40 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +40 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +40 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +40 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +40 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +40 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +40 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +40 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +5 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +110 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +71 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +34 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +12 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +13 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +30 -0
- package/node_modules/typebox/build/type/action/index.mjs +30 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +13 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +13 -0
- package/node_modules/typebox/build/type/action/module.d.mts +13 -0
- package/node_modules/typebox/build/type/action/module.mjs +13 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +19 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/with.d.mts +11 -0
- package/node_modules/typebox/build/type/action/with.mjs +11 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +49 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +16 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +45 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +47 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +28 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +47 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +43 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +34 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +67 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +28 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +26 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +53 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +23 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +23 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +28 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +178 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +158 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +29 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +39 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +36 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +28 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +10 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +26 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/engine/with/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/with/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +7 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +53 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +80 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +27 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +49 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +32 -0
- package/node_modules/typebox/build/type/extends/object.mjs +109 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/record.mjs +23 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +22 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +61 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +353 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +535 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +262 -0
- package/node_modules/typebox/build/type/script/parser.mjs +136 -0
- package/node_modules/typebox/build/type/script/script.d.mts +16 -0
- package/node_modules/typebox/build/type/script/script.mjs +22 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +60 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +18 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +18 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +18 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +24 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +36 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +23 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +13 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
- package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +18 -0
- package/node_modules/typebox/build/type/types/enum.mjs +22 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +45 -0
- package/node_modules/typebox/build/type/types/index.mjs +51 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +52 -0
- package/node_modules/typebox/build/type/types/record.mjs +66 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +45 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +69 -0
- package/node_modules/typebox/build/typebox.mjs +85 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +17 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +21 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +12 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +12 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +52 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +52 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +42 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +39 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +32 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +39 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +43 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +61 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +25 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +20 -0
- package/node_modules/typebox/build/value/index.mjs +29 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +88 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +7 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +72 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +15 -0
- package/node_modules/typebox/build/value/value.mjs +15 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +370 -0
- package/openclaw.plugin.json +115 -0
- package/package.json +48 -8
package/dist/index.js
ADDED
|
@@ -0,0 +1,1267 @@
|
|
|
1
|
+
import { n as zoomMeetingsInvalidRequest, r as zoomMeetingsConfig, t as ZoomMeetingsInvalidRequestError } from "./errors-DcrAT0wd.js";
|
|
2
|
+
import { MeetingPlatformAdapter } from "openclaw/plugin-sdk/meeting-runtime";
|
|
3
|
+
import { normalizeAgentId } from "openclaw/plugin-sdk/routing";
|
|
4
|
+
import { Type } from "typebox";
|
|
5
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-selectors.ts
|
|
6
|
+
const ZOOM_MEETING_SELECTORS = {
|
|
7
|
+
continueInBrowser: [],
|
|
8
|
+
guestName: ["input#input-for-name"],
|
|
9
|
+
join: ["button.preview-join-button"],
|
|
10
|
+
microphone: [
|
|
11
|
+
"button#preview-audio-control-button",
|
|
12
|
+
"button[aria-label=\"mute my microphone\" i]",
|
|
13
|
+
"button[aria-label=\"unmute my microphone\" i]"
|
|
14
|
+
],
|
|
15
|
+
camera: ["button#preview-video-control-button", "button.send-video-container__btn"],
|
|
16
|
+
deviceSettings: ["button[aria-label=\"More audio controls\" i]"],
|
|
17
|
+
microphoneDevice: ["[aria-label*=\"microphone\" i][role=\"combobox\"]"],
|
|
18
|
+
microphoneDeviceMenu: [
|
|
19
|
+
".audio-option-menu__pop-menu",
|
|
20
|
+
"[role=\"listbox\"]",
|
|
21
|
+
"[role=\"menu\"]"
|
|
22
|
+
],
|
|
23
|
+
selectedMicrophoneDevice: [
|
|
24
|
+
"a[role=\"button\"][aria-label^=\"Select a microphone\" i][aria-label$=\"selected\" i]",
|
|
25
|
+
"option:checked",
|
|
26
|
+
"[role=\"option\"][aria-selected=\"true\"]",
|
|
27
|
+
"[role=\"menuitemradio\"][aria-checked=\"true\"]"
|
|
28
|
+
],
|
|
29
|
+
audioDeviceOptions: [
|
|
30
|
+
"a[role=\"button\"][aria-label^=\"Select a microphone\" i]",
|
|
31
|
+
"option",
|
|
32
|
+
"[role=\"option\"]",
|
|
33
|
+
"[role=\"menuitemradio\"]"
|
|
34
|
+
],
|
|
35
|
+
leave: ["button[aria-label=\"Leave\" i]"],
|
|
36
|
+
leaveConfirmation: [
|
|
37
|
+
"button.leave-meeting-options__btn",
|
|
38
|
+
"button.zm-btn--danger",
|
|
39
|
+
"button[aria-label=\"Leave Meeting\" i]"
|
|
40
|
+
],
|
|
41
|
+
postCall: [
|
|
42
|
+
".meeting-ended",
|
|
43
|
+
".post-meeting",
|
|
44
|
+
".leave-meeting-page"
|
|
45
|
+
],
|
|
46
|
+
lobby: [
|
|
47
|
+
".waiting-room-container",
|
|
48
|
+
"[class*=\"waiting-room\"]",
|
|
49
|
+
"[class*=\"waitingRoom\"]"
|
|
50
|
+
],
|
|
51
|
+
signIn: ["a[href*=\"/signin\"]", "button[aria-label*=\"sign in\" i]"],
|
|
52
|
+
passcode: [
|
|
53
|
+
"input[type=\"password\"]",
|
|
54
|
+
"input[id*=\"passcode\" i]",
|
|
55
|
+
"input[name*=\"passcode\" i]",
|
|
56
|
+
"input[aria-label*=\"passcode\" i]"
|
|
57
|
+
],
|
|
58
|
+
captcha: [
|
|
59
|
+
"iframe[src*=\"recaptcha\" i]",
|
|
60
|
+
"iframe[title*=\"captcha\" i]",
|
|
61
|
+
".g-recaptcha",
|
|
62
|
+
"[data-sitekey]",
|
|
63
|
+
"[class*=\"captcha\" i]"
|
|
64
|
+
],
|
|
65
|
+
permissionPrompt: [".pepc-permission-dialog"],
|
|
66
|
+
moreActions: ["button.more-button", ".footer-more-button button"],
|
|
67
|
+
captions: [
|
|
68
|
+
"a[aria-label*=\"Show Captions\" i]",
|
|
69
|
+
"a[aria-label=\"Captions\" i]",
|
|
70
|
+
"[role=\"button\"][aria-label=\"Captions\" i]"
|
|
71
|
+
],
|
|
72
|
+
captionsOff: ["a[aria-label*=\"Hide Captions\" i]"],
|
|
73
|
+
captionRenderer: [".live-transcription-subtitle__box"],
|
|
74
|
+
captionContent: ["body"],
|
|
75
|
+
captionRows: ["#live-transcription-subtitle"],
|
|
76
|
+
captionAuthor: [
|
|
77
|
+
".zmu-data-selector-item__icon",
|
|
78
|
+
".live-transcription-subtitle__speaker",
|
|
79
|
+
"[class*=\"transcription\"][class*=\"speaker\"]"
|
|
80
|
+
],
|
|
81
|
+
captionText: [
|
|
82
|
+
".live-transcription-subtitle__item",
|
|
83
|
+
".live-transcription-subtitle__text",
|
|
84
|
+
"[class*=\"transcription\"][class*=\"text\"]",
|
|
85
|
+
".live-transcription-subtitle__box"
|
|
86
|
+
]
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-status-call-source.ts
|
|
90
|
+
function zoomMeetingStatusCallSource() {
|
|
91
|
+
return MeetingPlatformAdapter.createStatusCallSource({
|
|
92
|
+
platform: {
|
|
93
|
+
audioOutputElementIdPrefix: "openclaw-zoom-audio-output-",
|
|
94
|
+
displayName: "Zoom",
|
|
95
|
+
globals: {
|
|
96
|
+
audioOutputs: "__openclawZoomAudioOutputs",
|
|
97
|
+
captions: "__openclawZoomCaptions",
|
|
98
|
+
meeting: "__openclawZoomMeeting"
|
|
99
|
+
},
|
|
100
|
+
manualActionReasonPrefix: "zoom"
|
|
101
|
+
},
|
|
102
|
+
captionEnableSource: `if (!captionsFinalized && canMutateSession && inCall && !captionsEnabledNow) {
|
|
103
|
+
let captionButton = first(selectors.captions);
|
|
104
|
+
if (!captionButton) {
|
|
105
|
+
(first(selectors.moreActions) || findTextButton(/^more$/i))?.click?.();
|
|
106
|
+
await waitForUi();
|
|
107
|
+
captionButton = first(selectors.captions);
|
|
108
|
+
}
|
|
109
|
+
if (captionButton) {
|
|
110
|
+
const captionLabel = label(captionButton);
|
|
111
|
+
const alreadyEnabled = captionButton.getAttribute?.("aria-checked") === "true" ||
|
|
112
|
+
/hide (?:live )?captions|turn off captions/i.test(captionLabel) ||
|
|
113
|
+
Boolean(firstRaw(selectors.captionsOff));
|
|
114
|
+
if (!alreadyEnabled) {
|
|
115
|
+
captionButton.click();
|
|
116
|
+
await waitForUi();
|
|
117
|
+
const showCaptions = first(selectors.captions);
|
|
118
|
+
if (showCaptions && showCaptions !== captionButton && /show captions/i.test(label(showCaptions))) {
|
|
119
|
+
showCaptions.click();
|
|
120
|
+
await waitForUi();
|
|
121
|
+
}
|
|
122
|
+
const saveLanguage = findTextButton(/^save$/i);
|
|
123
|
+
if (saveLanguage && /caption language/i.test(text(document.body))) {
|
|
124
|
+
saveLanguage.click();
|
|
125
|
+
await waitForUi();
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
const currentCaptionButton = first(selectors.captions) || captionButton;
|
|
129
|
+
const currentLabel = label(currentCaptionButton);
|
|
130
|
+
captionsEnabledNow = currentCaptionButton.getAttribute?.("aria-checked") === "true" ||
|
|
131
|
+
/hide (?:live )?captions|turn off captions/i.test(currentLabel) ||
|
|
132
|
+
Boolean(firstRaw(selectors.captionRenderer)) ||
|
|
133
|
+
Boolean(firstRaw(selectors.captionsOff));
|
|
134
|
+
if (captionsEnabledNow && !alreadyEnabled) {
|
|
135
|
+
notes.push("Enabled Zoom live captions for transcript capture.");
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}`,
|
|
139
|
+
extraResultSource: "meetingEnded,"
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-status-access-source.ts
|
|
144
|
+
function zoomMeetingStatusAccessSource() {
|
|
145
|
+
return ` const passcodeInput = firstRaw(selectors.passcode);
|
|
146
|
+
const passcodeRequired = Boolean(passcodeInput) &&
|
|
147
|
+
/meeting passcode|enter (?:the )?passcode|invalid passcode|incorrect passcode/i.test(
|
|
148
|
+
pageText + " " + label(passcodeInput)
|
|
149
|
+
);
|
|
150
|
+
const captchaRequired = Boolean(firstRaw(selectors.captcha)) ||
|
|
151
|
+
/complete (?:the )?captcha|security check|verify (?:that )?you(?:'re| are) (?:a )?human/i.test(pageTextLower);
|
|
152
|
+
if (identityVerified && !inCall && passcodeRequired) {
|
|
153
|
+
controlManualAction = manualActionFor("zoom-passcode-required", "Enter the Zoom meeting passcode in the OpenClaw browser profile, then retry joining.");
|
|
154
|
+
} else if (identityVerified && !inCall && captchaRequired) {
|
|
155
|
+
controlManualAction = manualActionFor("zoom-captcha-required", "Complete Zoom's security check in the OpenClaw browser profile, then retry joining.");
|
|
156
|
+
}
|
|
157
|
+
`;
|
|
158
|
+
}
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-status-page-source.ts
|
|
161
|
+
function zoomMeetingStatusPageSource() {
|
|
162
|
+
return ` const pageText = text(document.body);
|
|
163
|
+
const pageTextLower = pageText.toLowerCase();
|
|
164
|
+
const lobbyWaiting = Boolean(first(selectors.lobby)) ||
|
|
165
|
+
/host will let you in soon|waiting for the host to start|someone will let you in shortly|waiting for someone to let you in|when someone admits you|you.?re in the lobby|we.?ve let people in the meeting know you.?re waiting/i.test(pageTextLower);
|
|
166
|
+
`;
|
|
167
|
+
}
|
|
168
|
+
//#endregion
|
|
169
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-status-prejoin-source.ts
|
|
170
|
+
function zoomMeetingStatusPreludeSource(params) {
|
|
171
|
+
return MeetingPlatformAdapter.createStatusPreludeSource(params, {
|
|
172
|
+
controlLookupSource: `const findTextButton = (pattern) => [...document.querySelectorAll("button")]
|
|
173
|
+
.find((button) => !button.disabled && pattern.test(label(button)));
|
|
174
|
+
const findTextControl = (pattern) =>
|
|
175
|
+
[...document.querySelectorAll('button, a, [role="button"]')]
|
|
176
|
+
.find((control) => !control.disabled && pattern.test(label(control)));`,
|
|
177
|
+
lifecycleSource: ` const continueInBrowser = first(selectors.continueInBrowser) ||
|
|
178
|
+
findTextButton(/join from browser|continue on this browser|join on the web|use the web app|continue without the app/i);
|
|
179
|
+
if (canMutateSession && identityVerifiedBeforeCall && continueInBrowser) {
|
|
180
|
+
continueInBrowser.click();
|
|
181
|
+
notes.push("Continued to the Zoom web client.");
|
|
182
|
+
await waitForUi();
|
|
183
|
+
}
|
|
184
|
+
const guestInput = first(selectors.guestName) || [...document.querySelectorAll("input")].find((input) =>
|
|
185
|
+
/enter your name|type your name|your name|display name/i.test(label(input) + " " + (input.placeholder || ""))
|
|
186
|
+
);
|
|
187
|
+
if (canMutateSession && identityVerifiedBeforeCall && autoJoin && guestInput && guestInput.value !== ${JSON.stringify(params.guestName)}) {
|
|
188
|
+
const setter = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
|
|
189
|
+
guestInput.focus();
|
|
190
|
+
if (setter) setter.call(guestInput, ${JSON.stringify(params.guestName)});
|
|
191
|
+
else guestInput.value = ${JSON.stringify(params.guestName)};
|
|
192
|
+
guestInput.dispatchEvent(new Event("input", { bubbles: true }));
|
|
193
|
+
guestInput.dispatchEvent(new Event("change", { bubbles: true }));
|
|
194
|
+
}
|
|
195
|
+
const leave = first(selectors.leave);
|
|
196
|
+
let continueWithoutDevices = findTextControl(/\\bcontinue without (?:audio or video|microphone(?: and camera)?)\\b/i);
|
|
197
|
+
let dismissedDevicePrompt = false;
|
|
198
|
+
if (
|
|
199
|
+
canMutateSession &&
|
|
200
|
+
identityVerifiedBeforeCall &&
|
|
201
|
+
!leave &&
|
|
202
|
+
autoJoin &&
|
|
203
|
+
!allowMicrophone &&
|
|
204
|
+
continueWithoutDevices
|
|
205
|
+
) {
|
|
206
|
+
continueWithoutDevices.click();
|
|
207
|
+
dismissedDevicePrompt = true;
|
|
208
|
+
notes.push("Continued past the Zoom device prompt in observe-only mode.");
|
|
209
|
+
await waitForUi();
|
|
210
|
+
continueWithoutDevices = findTextControl(
|
|
211
|
+
/\\bcontinue without (?:audio or video|microphone(?: and camera)?)\\b/i
|
|
212
|
+
);
|
|
213
|
+
if (continueWithoutDevices) {
|
|
214
|
+
continueWithoutDevices.click();
|
|
215
|
+
await waitForUi();
|
|
216
|
+
}
|
|
217
|
+
} else if (
|
|
218
|
+
canMutateSession &&
|
|
219
|
+
identityVerifiedBeforeCall &&
|
|
220
|
+
!leave &&
|
|
221
|
+
autoJoin &&
|
|
222
|
+
allowMicrophone
|
|
223
|
+
) {
|
|
224
|
+
const useMicrophone = document.querySelector('usermedia.pepc-permission-dialog__permission-button[type*="microphone"]');
|
|
225
|
+
if (useMicrophone) {
|
|
226
|
+
useMicrophone.click();
|
|
227
|
+
notes.push("Requested Zoom microphone access from the prejoin prompt.");
|
|
228
|
+
await waitForUi();
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
${zoomMeetingStatusPageSource()}
|
|
232
|
+
const devicesDisabled = Boolean(!allowMicrophone && (dismissedDevicePrompt || (priorMeeting?.identity === expectedIdentity && (!sessionId || priorMeeting?.sessionId === sessionId) && priorMeeting?.devicesDisabled === true)));
|
|
233
|
+
// Zoom replaces the meeting URL after admission; retain only an adopted in-call control.
|
|
234
|
+
// Lobby ownership remains durable because host admission has no bounded wait.
|
|
235
|
+
const markerAgeMs = Date.now() - (priorMeeting?.verifiedAt || 0);
|
|
236
|
+
const inCallControlDisconnected = Boolean(!currentIdentity && priorMeeting?.identity === expectedIdentity && priorMeeting?.inCallControl?.isConnected === false);
|
|
237
|
+
if (inCallControlDisconnected && !leave) priorMeeting.inCallControlLostAt ||= Date.now();
|
|
238
|
+
const inCallControlLossAgeMs = Date.now() - (priorMeeting?.inCallControlLostAt || Date.now());
|
|
239
|
+
const identityAdoptedInCall = Boolean(
|
|
240
|
+
!currentIdentity &&
|
|
241
|
+
priorMeeting?.identity === expectedIdentity &&
|
|
242
|
+
!priorMeeting?.inCallControl &&
|
|
243
|
+
(
|
|
244
|
+
priorMeeting?.awaitingAdmission === true ||
|
|
245
|
+
(markerAgeMs >= 0 && markerAgeMs < identityRetentionMs)
|
|
246
|
+
) &&
|
|
247
|
+
leave &&
|
|
248
|
+
leave.isConnected !== false
|
|
249
|
+
);
|
|
250
|
+
const identityRerenderedInCall = Boolean(
|
|
251
|
+
inCallControlDisconnected &&
|
|
252
|
+
priorMeeting.inCallControl !== leave &&
|
|
253
|
+
priorMeeting?.inCallUrl === location.href &&
|
|
254
|
+
leave &&
|
|
255
|
+
leave.isConnected !== false
|
|
256
|
+
);
|
|
257
|
+
const identityAwaitingRerender = Boolean(
|
|
258
|
+
inCallControlDisconnected &&
|
|
259
|
+
inCallControlLossAgeMs >= 0 &&
|
|
260
|
+
inCallControlLossAgeMs < 5_000 &&
|
|
261
|
+
!leave
|
|
262
|
+
);
|
|
263
|
+
const identityPreservedInCall = Boolean(
|
|
264
|
+
!currentIdentity &&
|
|
265
|
+
priorMeeting?.identity === expectedIdentity &&
|
|
266
|
+
leave &&
|
|
267
|
+
leave.isConnected !== false &&
|
|
268
|
+
(
|
|
269
|
+
identityAdoptedInCall ||
|
|
270
|
+
identityRerenderedInCall ||
|
|
271
|
+
(
|
|
272
|
+
priorMeeting?.inCallControl === leave &&
|
|
273
|
+
priorMeeting?.inCallUrl === location.href
|
|
274
|
+
)
|
|
275
|
+
)
|
|
276
|
+
);
|
|
277
|
+
const identityVerified = identityVerifiedBeforeCall || identityPreservedInCall;
|
|
278
|
+
const meetingEnded = Boolean(
|
|
279
|
+
[...document.querySelectorAll(".zm-modal-body-title")].some((node) =>
|
|
280
|
+
/meeting (?:has been ended by host|has ended)/i.test(text(node))
|
|
281
|
+
) ||
|
|
282
|
+
(
|
|
283
|
+
inCallControlDisconnected &&
|
|
284
|
+
inCallControlLossAgeMs >= 5_000 &&
|
|
285
|
+
!leave
|
|
286
|
+
)
|
|
287
|
+
);
|
|
288
|
+
const inCall = Boolean(identityVerified && leave && !meetingEnded);
|
|
289
|
+
if (canMutateSession && identityVerified && meetingOwnerConflict) {
|
|
290
|
+
// The tab can survive a Zoom SPA meeting/session change. Old hidden bridges
|
|
291
|
+
// must stop, while their muted source streams remain eligible for the new owner.
|
|
292
|
+
adoptAudioBridgeSourcesForSession();
|
|
293
|
+
}
|
|
294
|
+
if (canMutateSession && !inCall && !identityAwaitingRerender) retireOwnedAudioBridges();
|
|
295
|
+
if (canMutateSession && (identityVerifiedBeforeCall || identityPreservedInCall)) {
|
|
296
|
+
window.__openclawZoomMeeting = {
|
|
297
|
+
...(priorMeeting?.identity === expectedIdentity && !meetingOwnerConflict ? priorMeeting : {}),
|
|
298
|
+
identity: expectedIdentity,
|
|
299
|
+
sessionId: sessionId || priorMeeting?.sessionId,
|
|
300
|
+
verifiedAt: Date.now(),
|
|
301
|
+
awaitingAdmission: !inCall && lobbyWaiting,
|
|
302
|
+
devicesDisabled,
|
|
303
|
+
...(inCall ? { inCallControl: leave, inCallControlLostAt: undefined, inCallUrl: location.href } : {}),
|
|
304
|
+
};
|
|
305
|
+
} else if (
|
|
306
|
+
canMutateSession &&
|
|
307
|
+
!currentIdentity &&
|
|
308
|
+
priorMeeting &&
|
|
309
|
+
!identityAwaitingRerender &&
|
|
310
|
+
(
|
|
311
|
+
priorMeeting.inCallControl ||
|
|
312
|
+
(priorMeeting.awaitingAdmission !== true && markerAgeMs >= identityRetentionMs)
|
|
313
|
+
)
|
|
314
|
+
) {
|
|
315
|
+
delete window.__openclawZoomMeeting;
|
|
316
|
+
}
|
|
317
|
+
const microphone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
318
|
+
let microphoneState = identityVerified ? (toggleState(microphone, "microphone") || (devicesDisabled ? "off" : undefined)) : undefined;
|
|
319
|
+
const camera = first(selectors.camera) || findTextButton(/camera|video/i);
|
|
320
|
+
let cameraState = identityVerified ? (toggleState(camera, "camera") || (devicesDisabled ? "off" : undefined)) : undefined;
|
|
321
|
+
let controlManualAction;
|
|
322
|
+
${zoomMeetingStatusAccessSource()}
|
|
323
|
+
if (
|
|
324
|
+
canMutateSession &&
|
|
325
|
+
identityVerified &&
|
|
326
|
+
camera &&
|
|
327
|
+
cameraState === "on" &&
|
|
328
|
+
!controlManualAction
|
|
329
|
+
) {
|
|
330
|
+
camera.click();
|
|
331
|
+
await waitForUi();
|
|
332
|
+
const continueWithoutCamera = findTextControl(/\\bcontinue without camera\\b/i);
|
|
333
|
+
if (continueWithoutCamera) {
|
|
334
|
+
clickable(continueWithoutCamera)?.click?.();
|
|
335
|
+
await waitForUi();
|
|
336
|
+
}
|
|
337
|
+
const currentCamera = first(selectors.camera) || findTextButton(/camera|video/i);
|
|
338
|
+
cameraState = toggleState(currentCamera, "camera");
|
|
339
|
+
if (cameraState === "off") {
|
|
340
|
+
notes.push(inCall ? "Turned the Zoom camera off after admission." : "Turned the Zoom camera off before joining.");
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
const join = first(selectors.join) ||
|
|
344
|
+
findTextButton(/^\\s*(join|join now|ask to join|join meeting)\\s*$/i);
|
|
345
|
+
if (
|
|
346
|
+
identityVerified &&
|
|
347
|
+
(inCall || join) &&
|
|
348
|
+
cameraState !== "off" &&
|
|
349
|
+
!controlManualAction
|
|
350
|
+
) {
|
|
351
|
+
controlManualAction = manualActionFor("zoom-camera-required", inCall ? "Turn the Zoom camera off and verify the in-call camera control shows it is off." : "Turn the Zoom camera off and verify the camera control shows it is off, then retry joining.");
|
|
352
|
+
}
|
|
353
|
+
const isVirtualAudioDevice = (value) =>
|
|
354
|
+
/^(?:blackhole 2ch(?: \\(virtual\\))?|openclaw meeting audio)$/i.test(
|
|
355
|
+
String(value || "").replace(/\\s+/g, " ").trim()
|
|
356
|
+
);
|
|
357
|
+
const isVirtualAudioDeviceNode = (node) => [
|
|
358
|
+
node?.getAttribute?.("aria-label"),
|
|
359
|
+
node?.getAttribute?.("title"),
|
|
360
|
+
node?.label,
|
|
361
|
+
node?.value,
|
|
362
|
+
text(node),
|
|
363
|
+
].some(isVirtualAudioDevice);
|
|
364
|
+
const microphoneDeviceRoots = () => {
|
|
365
|
+
// Consumer in-call controls expose the listbox itself, without the prejoin
|
|
366
|
+
// selected-device button/combobox wrapper.
|
|
367
|
+
const control = firstRaw(selectors.microphoneDevice) || firstRaw(selectors.microphoneDeviceMenu);
|
|
368
|
+
if (!control) return { control, roots: [] };
|
|
369
|
+
const roots = [control];
|
|
370
|
+
const scope = control.closest?.('[data-tid="device-settings-microphone"]');
|
|
371
|
+
if (scope && !roots.includes(scope)) roots.push(scope);
|
|
372
|
+
const listboxId = control.getAttribute?.("aria-controls");
|
|
373
|
+
const listbox = listboxId ? document.getElementById?.(listboxId) : undefined;
|
|
374
|
+
if (listbox && !roots.includes(listbox)) roots.push(listbox);
|
|
375
|
+
const liveMenu = firstRaw(selectors.microphoneDeviceMenu);
|
|
376
|
+
if (liveMenu && !roots.includes(liveMenu)) roots.push(liveMenu);
|
|
377
|
+
return { control, roots };
|
|
378
|
+
};
|
|
379
|
+
const selectedMicrophoneLabel = () => {
|
|
380
|
+
const { control, roots } = microphoneDeviceRoots();
|
|
381
|
+
const selectedOption = control?.selectedOptions?.[0];
|
|
382
|
+
if (selectedOption && isVirtualAudioDeviceNode(selectedOption)) {
|
|
383
|
+
return label(selectedOption) || selectedOption.value;
|
|
384
|
+
}
|
|
385
|
+
if (control && isVirtualAudioDeviceNode(control)) return label(control) || control.value;
|
|
386
|
+
for (const root of roots) {
|
|
387
|
+
const selected = firstWithin(root, selectors.selectedMicrophoneDevice);
|
|
388
|
+
if (selected && isVirtualAudioDeviceNode(selected)) {
|
|
389
|
+
return label(selected) || selected.value;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
return undefined;
|
|
393
|
+
};
|
|
394
|
+
let audioInputRouted;
|
|
395
|
+
let audioInputDeviceLabel;
|
|
396
|
+
let audioInputRouteError;
|
|
397
|
+
const ensureVirtualAudioInput = async () => {
|
|
398
|
+
const preparedInput = window.__openclawZoomMeeting;
|
|
399
|
+
if (preparedInput?.identity === expectedIdentity && (!sessionId || preparedInput?.sessionId === sessionId)) {
|
|
400
|
+
delete preparedInput.audioInputDeviceId;
|
|
401
|
+
}
|
|
402
|
+
if (!navigator.mediaDevices?.enumerateDevices) return false;
|
|
403
|
+
try {
|
|
404
|
+
const devices = await navigator.mediaDevices.enumerateDevices();
|
|
405
|
+
const input = devices.find(
|
|
406
|
+
(device) => device.kind === "audioinput" && isVirtualAudioDevice(device.label)
|
|
407
|
+
);
|
|
408
|
+
if (!input?.deviceId) return false;
|
|
409
|
+
audioInputDeviceLabel = input.label || "Virtual audio device";
|
|
410
|
+
// Zoom hides the selected-device control after admission. Reopen the in-call audio
|
|
411
|
+
// options and verify the current selection before unmuting; installed devices alone
|
|
412
|
+
// do not prove which microphone Zoom is using.
|
|
413
|
+
let selected = Boolean(selectedMicrophoneLabel());
|
|
414
|
+
if (!selected && canMutateSession) {
|
|
415
|
+
const settings = first(selectors.deviceSettings);
|
|
416
|
+
if (settings) {
|
|
417
|
+
settings.click();
|
|
418
|
+
await waitForUi();
|
|
419
|
+
}
|
|
420
|
+
const { control } = microphoneDeviceRoots();
|
|
421
|
+
if (control?.tagName?.toLowerCase() === "select") {
|
|
422
|
+
const options = [...control.options];
|
|
423
|
+
const option = options.find(isVirtualAudioDeviceNode);
|
|
424
|
+
if (option) {
|
|
425
|
+
control.value = option.value;
|
|
426
|
+
control.dispatchEvent(new Event("change", { bubbles: true }));
|
|
427
|
+
await waitForUi();
|
|
428
|
+
}
|
|
429
|
+
} else if (control) {
|
|
430
|
+
clickable(control)?.click?.();
|
|
431
|
+
await waitForUi();
|
|
432
|
+
}
|
|
433
|
+
const choices = microphoneDeviceRoots().roots.flatMap((root) =>
|
|
434
|
+
selectors.audioDeviceOptions.flatMap((selector) => [
|
|
435
|
+
...(root.querySelectorAll?.(selector) || []),
|
|
436
|
+
])
|
|
437
|
+
);
|
|
438
|
+
const choice = choices.find(isVirtualAudioDeviceNode);
|
|
439
|
+
if (choice && choice.getAttribute?.("aria-selected") !== "true") {
|
|
440
|
+
clickable(choice)?.click?.();
|
|
441
|
+
await waitForUi();
|
|
442
|
+
}
|
|
443
|
+
selected = Boolean(selectedMicrophoneLabel());
|
|
444
|
+
}
|
|
445
|
+
return selected;
|
|
446
|
+
} catch (error) {
|
|
447
|
+
audioInputRouteError = error?.message || String(error);
|
|
448
|
+
return false;
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
if (identityVerified && !inCall && allowMicrophone && microphone) {
|
|
452
|
+
audioInputRouted = await ensureVirtualAudioInput();
|
|
453
|
+
if (!audioInputRouted) {
|
|
454
|
+
if (canMutateSession && microphoneState === "on") {
|
|
455
|
+
microphone.click();
|
|
456
|
+
await waitForUi();
|
|
457
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
458
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
459
|
+
}
|
|
460
|
+
notes.push("The virtual audio input will be selected from Zoom's in-call audio controls.");
|
|
461
|
+
} else if (canMutateSession && microphoneState === "off") {
|
|
462
|
+
microphone.click();
|
|
463
|
+
await waitForUi();
|
|
464
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
465
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
466
|
+
if (microphoneState === "on") {
|
|
467
|
+
notes.push("Unmuted the Zoom microphone after verifying the virtual audio input.");
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
} else if (canMutateSession && identityVerified && !allowMicrophone && microphoneState === "on") {
|
|
471
|
+
microphone.click();
|
|
472
|
+
await waitForUi();
|
|
473
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
474
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
475
|
+
if (microphoneState === "off") {
|
|
476
|
+
notes.push("Muted the Zoom microphone for observe-only mode.");
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
if (identityVerified && inCall && allowMicrophone) {
|
|
480
|
+
if (!selectedMicrophoneLabel() && canMutateSession && microphoneState === "on") {
|
|
481
|
+
microphone?.click();
|
|
482
|
+
await waitForUi();
|
|
483
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
484
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
485
|
+
}
|
|
486
|
+
audioInputRouted = await ensureVirtualAudioInput();
|
|
487
|
+
if (audioInputRouted && canMutateSession && microphoneState === "off") {
|
|
488
|
+
microphone?.click();
|
|
489
|
+
await waitForUi();
|
|
490
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
491
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
492
|
+
} else if (!audioInputRouted && canMutateSession && microphoneState === "on") {
|
|
493
|
+
microphone?.click();
|
|
494
|
+
await waitForUi();
|
|
495
|
+
const currentMicrophone = first(selectors.microphone) || findTextButton(/mute|unmute|microphone/i);
|
|
496
|
+
microphoneState = toggleState(currentMicrophone, "microphone");
|
|
497
|
+
if (microphoneState === "off") {
|
|
498
|
+
notes.push("Muted the Zoom microphone because the virtual audio input could not be reverified.");
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
if (
|
|
503
|
+
identityVerified &&
|
|
504
|
+
(inCall || join) &&
|
|
505
|
+
!allowMicrophone &&
|
|
506
|
+
microphoneState !== "off" &&
|
|
507
|
+
!controlManualAction
|
|
508
|
+
) {
|
|
509
|
+
controlManualAction = manualActionFor("zoom-microphone-required", inCall ? "Mute the Zoom microphone and verify it stays muted for observe-only mode." : "Mute the Zoom microphone and verify the microphone control shows it is off, then retry joining.");
|
|
510
|
+
}`,
|
|
511
|
+
manualActionSource: ` const signInControl = first(selectors.signIn);
|
|
512
|
+
const tenantLoginRequired =
|
|
513
|
+
/authorized attendees only|meeting is for authorized attendees|sign in to join|verify your email|enter the code sent to/i.test(pageTextLower);
|
|
514
|
+
const loginRequired = tenantLoginRequired ||
|
|
515
|
+
(Boolean(signInControl) && !guestInput && !join && /sign in to (?:join|continue)|sign in to your account/i.test(pageTextLower));
|
|
516
|
+
let microphonePermissionState;
|
|
517
|
+
if (allowMicrophone && navigator.permissions?.query) {
|
|
518
|
+
try {
|
|
519
|
+
microphonePermissionState = (await navigator.permissions.query({ name: "microphone" })).state;
|
|
520
|
+
} catch {}
|
|
521
|
+
}
|
|
522
|
+
const devicePermissionPrompt = !dismissedDevicePrompt && Boolean(
|
|
523
|
+
first(selectors.permissionPrompt) || continueWithoutDevices
|
|
524
|
+
);
|
|
525
|
+
// Zoom shows the same no-audio/video warning when only camera access is denied.
|
|
526
|
+
// A granted microphone plus the verified virtual audio input is sufficient for talk-back.
|
|
527
|
+
const permissionRequired = devicePermissionPrompt &&
|
|
528
|
+
(!allowMicrophone || microphonePermissionState !== "granted");
|
|
529
|
+
let manualAction;
|
|
530
|
+
if (committedOwnerConflict && !canMutateSession) {
|
|
531
|
+
manualAction = manualActionFor("zoom-session-conflict", "This Zoom tab is owned by another active meeting session.");
|
|
532
|
+
} else if (!inCall && loginRequired) {
|
|
533
|
+
manualAction = manualActionFor("zoom-login-required", tenantLoginRequired ? "This Zoom tenant requires sign-in or email verification. Complete it in the OpenClaw browser profile, then retry." : "Sign in to Zoom in the OpenClaw browser profile, then retry the meeting join.");
|
|
534
|
+
} else if (!inCall && lobbyWaiting) {
|
|
535
|
+
manualAction = manualActionFor("zoom-admission-required", "Admit the OpenClaw guest from the Zoom lobby, then retry speech.");
|
|
536
|
+
} else if (!inCall && permissionRequired) {
|
|
537
|
+
manualAction = manualActionFor("zoom-permission-required", allowMicrophone ? "Allow microphone permission for Zoom in the OpenClaw browser profile, then retry." : "Dismiss the Zoom device-permission prompt or continue without devices, then retry.");
|
|
538
|
+
} else if (controlManualAction) {
|
|
539
|
+
manualAction = controlManualAction;
|
|
540
|
+
}
|
|
541
|
+
let clickedJoin = false;
|
|
542
|
+
if (canMutateSession && identityVerified && autoJoin && !inCall && join && !join.disabled && !manualAction) {
|
|
543
|
+
join.click();
|
|
544
|
+
clickedJoin = true;
|
|
545
|
+
notes.push("Clicked the Zoom guest join button.");
|
|
546
|
+
}`,
|
|
547
|
+
platform: {
|
|
548
|
+
displayName: "Zoom",
|
|
549
|
+
globals: {
|
|
550
|
+
audioOutputs: "__openclawZoomAudioOutputs",
|
|
551
|
+
captionArchive: "__openclawZoomCaptionArchive",
|
|
552
|
+
captions: "__openclawZoomCaptions",
|
|
553
|
+
meeting: "__openclawZoomMeeting"
|
|
554
|
+
},
|
|
555
|
+
manualActionReasonPrefix: "zoom"
|
|
556
|
+
},
|
|
557
|
+
setupSource: `const topDocument = globalThis.document;
|
|
558
|
+
const document = topDocument.querySelector("#webclient")?.contentDocument || topDocument;
|
|
559
|
+
const pageWindow = document.defaultView || globalThis;
|
|
560
|
+
const HTMLInputElement = pageWindow.HTMLInputElement || globalThis.HTMLInputElement;
|
|
561
|
+
const Event = pageWindow.Event || globalThis.Event;
|
|
562
|
+
const MutationObserver = pageWindow.MutationObserver || globalThis.MutationObserver;`
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-urls.ts
|
|
567
|
+
function isZoomHostname(hostname) {
|
|
568
|
+
return hostname === "zoom.us" || hostname.endsWith(".zoom.us");
|
|
569
|
+
}
|
|
570
|
+
function parseZoomMeetingIdentity(url) {
|
|
571
|
+
if (!url) return;
|
|
572
|
+
try {
|
|
573
|
+
const parsed = new URL(url);
|
|
574
|
+
if (parsed.protocol !== "https:" || parsed.port || parsed.username || parsed.password || !isZoomHostname(parsed.hostname.toLowerCase())) return;
|
|
575
|
+
const invitation = parsed.pathname.match(/^\/j\/(\d{9,11})\/?$/);
|
|
576
|
+
const webClient = parsed.hostname.toLowerCase() === "app.zoom.us" ? parsed.pathname.match(/^\/wc\/(\d{9,11})\/join\/?$/) : void 0;
|
|
577
|
+
const meetingId = invitation?.[1] ?? webClient?.[1];
|
|
578
|
+
return meetingId ? {
|
|
579
|
+
kind: invitation ? "invitation" : "web-client",
|
|
580
|
+
meetingId,
|
|
581
|
+
passcode: parsed.searchParams.get("pwd") || void 0
|
|
582
|
+
} : void 0;
|
|
583
|
+
} catch {
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
function normalizeZoomMeetingUrl(input) {
|
|
588
|
+
if (typeof input !== "string" || !input.trim()) throw new Error("Zoom meeting URL is required");
|
|
589
|
+
const value = input.trim();
|
|
590
|
+
if (!parseZoomMeetingIdentity(value)) throw new Error("Zoom meeting URL must use https://<account>.zoom.us/j/<meeting-id>");
|
|
591
|
+
const parsed = new URL(value);
|
|
592
|
+
parsed.hash = "";
|
|
593
|
+
return parsed.toString();
|
|
594
|
+
}
|
|
595
|
+
function normalizeZoomMeetingUrlForReuse(url) {
|
|
596
|
+
const identity = parseZoomMeetingIdentity(url);
|
|
597
|
+
return identity ? `zoom:${identity.meetingId}` : void 0;
|
|
598
|
+
}
|
|
599
|
+
function isSameZoomMeetingUrl(left, right) {
|
|
600
|
+
const normalizedLeft = normalizeZoomMeetingUrlForReuse(left);
|
|
601
|
+
const normalizedRight = normalizeZoomMeetingUrlForReuse(right);
|
|
602
|
+
return Boolean(normalizedLeft && normalizedRight && normalizedLeft === normalizedRight);
|
|
603
|
+
}
|
|
604
|
+
function hasSameZoomMeetingJoinCredential(left, right) {
|
|
605
|
+
const leftIdentity = parseZoomMeetingIdentity(left);
|
|
606
|
+
const rightIdentity = parseZoomMeetingIdentity(right);
|
|
607
|
+
return Boolean(leftIdentity && rightIdentity && leftIdentity.meetingId === rightIdentity.meetingId && leftIdentity.passcode === rightIdentity.passcode);
|
|
608
|
+
}
|
|
609
|
+
function isRecoverableZoomMeetingTab(tab, url) {
|
|
610
|
+
if (url) {
|
|
611
|
+
const tabIdentity = parseZoomMeetingIdentity(tab.url);
|
|
612
|
+
const requestedIdentity = parseZoomMeetingIdentity(url);
|
|
613
|
+
if (!tabIdentity || !requestedIdentity || tabIdentity.meetingId !== requestedIdentity.meetingId) return false;
|
|
614
|
+
return tabIdentity.kind !== "invitation" || requestedIdentity.kind !== "invitation" ? true : tabIdentity.passcode === requestedIdentity.passcode;
|
|
615
|
+
}
|
|
616
|
+
if (normalizeZoomMeetingUrlForReuse(tab.url)) return true;
|
|
617
|
+
try {
|
|
618
|
+
return isZoomHostname(new URL(tab.url ?? "").hostname.toLowerCase()) && /sign in|verification|zoom/i.test(tab.title ?? "");
|
|
619
|
+
} catch {
|
|
620
|
+
return false;
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
//#endregion
|
|
624
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-page-scripts.ts
|
|
625
|
+
const ZOOM_MEETING_TRANSCRIPT_MAX_LINES = 500;
|
|
626
|
+
function pageIdentityFunctionSource() {
|
|
627
|
+
return `const meetingIdentity = (rawUrl) => {
|
|
628
|
+
try {
|
|
629
|
+
const parsed = new URL(rawUrl);
|
|
630
|
+
const host = parsed.hostname.toLowerCase();
|
|
631
|
+
if (
|
|
632
|
+
parsed.protocol !== "https:" ||
|
|
633
|
+
!(host === "zoom.us" || host.endsWith(".zoom.us"))
|
|
634
|
+
) return undefined;
|
|
635
|
+
const invitation = parsed.pathname.match(/^\\/j\\/(\\d{9,11})\\/?$/);
|
|
636
|
+
const webClient = parsed.pathname.match(/^\\/wc\\/(\\d{9,11})\\/join\\/?$/);
|
|
637
|
+
const meetingId = invitation?.[1] || webClient?.[1];
|
|
638
|
+
return meetingId ? "zoom:" + meetingId : undefined;
|
|
639
|
+
} catch {}
|
|
640
|
+
return undefined;
|
|
641
|
+
};`;
|
|
642
|
+
}
|
|
643
|
+
function zoomMeetingToggleStateFunctionSource() {
|
|
644
|
+
return `(input) => {
|
|
645
|
+
const pressed = String(input?.ariaPressed || "").toLowerCase();
|
|
646
|
+
if (pressed === "true") return "on";
|
|
647
|
+
if (pressed === "false") return "off";
|
|
648
|
+
const checked = String(input?.ariaChecked ?? input?.checked ?? "").toLowerCase();
|
|
649
|
+
if (checked === "true") return "on";
|
|
650
|
+
if (checked === "false") return "off";
|
|
651
|
+
const iconClass = String(input?.iconClass || "");
|
|
652
|
+
if (input?.kind === "camera" && /videooff/i.test(iconClass)) return "off";
|
|
653
|
+
if (input?.kind === "camera" && /videoon/i.test(iconClass)) return "on";
|
|
654
|
+
const value = String(input?.label || "").toLowerCase().replace(/\\s+/g, " ").trim();
|
|
655
|
+
if (!value) return undefined;
|
|
656
|
+
if (input?.kind === "camera") {
|
|
657
|
+
if (/\\bturn (?:your )?camera off\\b|\\bturn off (?:your )?camera\\b|\\bstop video\\b|\\bdisable (?:your )?(?:camera|video)\\b/.test(value)) return "on";
|
|
658
|
+
if (/\\bturn (?:your )?camera on\\b|\\bturn on (?:your )?camera\\b|\\bstart video\\b|\\benable (?:your )?(?:camera|video)\\b/.test(value)) return "off";
|
|
659
|
+
if (/\\b(?:camera|video) (?:is |currently )?(?:off|disabled)\\b/.test(value)) return "off";
|
|
660
|
+
if (/\\b(?:camera|video) (?:is |currently )?(?:on|enabled)\\b/.test(value)) return "on";
|
|
661
|
+
return undefined;
|
|
662
|
+
}
|
|
663
|
+
if (/^mute(?: mute)?$|\\bturn (?:your |my )?(?:microphone|mic) off\\b|\\bturn off (?:your |my )?(?:microphone|mic)\\b|\\bmute (?:your |my )?(?:microphone|mic)\\b|\\bdisable (?:your |my )?(?:microphone|mic)\\b/.test(value)) return "on";
|
|
664
|
+
if (/^unmute(?: unmute)?$|\\bturn (?:your |my )?(?:microphone|mic) on\\b|\\bturn on (?:your |my )?(?:microphone|mic)\\b|\\bunmute (?:your |my )?(?:microphone|mic)\\b|\\benable (?:your |my )?(?:microphone|mic)\\b/.test(value)) return "off";
|
|
665
|
+
if (/\\b(?:microphone|mic) (?:is |currently )?(?:off|muted|disabled)\\b/.test(value)) return "off";
|
|
666
|
+
if (/\\b(?:microphone|mic) (?:is |currently )?(?:on|unmuted|enabled)\\b/.test(value)) return "on";
|
|
667
|
+
return undefined;
|
|
668
|
+
}`;
|
|
669
|
+
}
|
|
670
|
+
function zoomMeetingStatusScript(params) {
|
|
671
|
+
const selectors = JSON.stringify(ZOOM_MEETING_SELECTORS);
|
|
672
|
+
const expectedIdentity = normalizeZoomMeetingUrlForReuse(params.meetingUrl);
|
|
673
|
+
const toggleStateFunction = zoomMeetingToggleStateFunctionSource();
|
|
674
|
+
return zoomMeetingStatusPreludeSource({
|
|
675
|
+
...params,
|
|
676
|
+
expectedIdentity,
|
|
677
|
+
pageIdentitySource: pageIdentityFunctionSource(),
|
|
678
|
+
selectors,
|
|
679
|
+
toggleStateFunction
|
|
680
|
+
}) + zoomMeetingStatusCallSource();
|
|
681
|
+
}
|
|
682
|
+
function zoomMeetingTranscriptScript(meetingUrl, meetingSessionId, finalize) {
|
|
683
|
+
const expectedIdentity = normalizeZoomMeetingUrlForReuse(meetingUrl);
|
|
684
|
+
return `() => {
|
|
685
|
+
${pageIdentityFunctionSource()}
|
|
686
|
+
const expectedIdentity = ${JSON.stringify(expectedIdentity)};
|
|
687
|
+
const expectedSessionId = ${JSON.stringify(meetingSessionId)};
|
|
688
|
+
const currentIdentity = meetingIdentity(location.href);
|
|
689
|
+
const state = window.__openclawZoomMeeting;
|
|
690
|
+
const activeCaptions = window.__openclawZoomCaptions;
|
|
691
|
+
const archivedCaptions = window.__openclawZoomCaptionArchive?.[expectedSessionId];
|
|
692
|
+
const captions = activeCaptions &&
|
|
693
|
+
(!activeCaptions.sessionId || activeCaptions.sessionId === expectedSessionId)
|
|
694
|
+
? activeCaptions
|
|
695
|
+
: archivedCaptions;
|
|
696
|
+
// A same-session finalized buffer belongs to the departed call even if Zoom
|
|
697
|
+
// immediately navigated this tab into another meeting before transcript pickup.
|
|
698
|
+
const useFinalizedCaptions = Boolean(
|
|
699
|
+
captions?.finalized === true &&
|
|
700
|
+
captions?.identity === expectedIdentity &&
|
|
701
|
+
(!captions?.sessionId || captions.sessionId === expectedSessionId)
|
|
702
|
+
);
|
|
703
|
+
const effectiveIdentity = useFinalizedCaptions
|
|
704
|
+
? captions.identity
|
|
705
|
+
: currentIdentity || state?.identity || captions?.identity;
|
|
706
|
+
if (!expectedIdentity || effectiveIdentity !== expectedIdentity) {
|
|
707
|
+
return JSON.stringify({ urlMatched: false, droppedLines: 0, lines: [] });
|
|
708
|
+
}
|
|
709
|
+
if (!useFinalizedCaptions && state?.sessionId && state.sessionId !== expectedSessionId) {
|
|
710
|
+
return JSON.stringify({ urlMatched: true, sessionMatched: false, droppedLines: 0, lines: [] });
|
|
711
|
+
}
|
|
712
|
+
if (captions?.sessionId && captions.sessionId !== expectedSessionId) {
|
|
713
|
+
return JSON.stringify({ urlMatched: true, sessionMatched: false, droppedLines: 0, lines: [] });
|
|
714
|
+
}
|
|
715
|
+
if (${JSON.stringify(finalize)} && Array.isArray(captions?.visible) && captions.visible.length > 0) {
|
|
716
|
+
if (captions.settleTimer !== undefined) clearTimeout(captions.settleTimer);
|
|
717
|
+
captions.settleTimer = undefined;
|
|
718
|
+
captions.lines = Array.isArray(captions.lines) ? captions.lines : [];
|
|
719
|
+
captions.lines.push(...captions.visible.map((entry) => ({
|
|
720
|
+
at: entry.at,
|
|
721
|
+
speaker: entry.speaker,
|
|
722
|
+
text: entry.text,
|
|
723
|
+
})));
|
|
724
|
+
captions.visible = [];
|
|
725
|
+
const excess = captions.lines.length - ${ZOOM_MEETING_TRANSCRIPT_MAX_LINES};
|
|
726
|
+
if (excess > 0) {
|
|
727
|
+
captions.lines.splice(0, excess);
|
|
728
|
+
captions.droppedLines = (captions.droppedLines || 0) + excess;
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
if (${JSON.stringify(finalize)} && captions) {
|
|
732
|
+
if (captions.settleTimer !== undefined) clearTimeout(captions.settleTimer);
|
|
733
|
+
captions.settleTimer = undefined;
|
|
734
|
+
captions.observer?.disconnect?.();
|
|
735
|
+
captions.observer = undefined;
|
|
736
|
+
captions.observerInstalled = false;
|
|
737
|
+
captions.identity = expectedIdentity;
|
|
738
|
+
captions.finalized = true;
|
|
739
|
+
captions.finalizedAt = Date.now();
|
|
740
|
+
}
|
|
741
|
+
const allLines = [
|
|
742
|
+
...(Array.isArray(captions?.lines) ? captions.lines : []),
|
|
743
|
+
...(${JSON.stringify(finalize)} || !Array.isArray(captions?.visible) ? [] : captions.visible),
|
|
744
|
+
];
|
|
745
|
+
const visibleOverflow = Math.max(0, allLines.length - ${ZOOM_MEETING_TRANSCRIPT_MAX_LINES});
|
|
746
|
+
const lines = allLines.slice(-${ZOOM_MEETING_TRANSCRIPT_MAX_LINES});
|
|
747
|
+
const result = {
|
|
748
|
+
urlMatched: true,
|
|
749
|
+
sessionMatched: true,
|
|
750
|
+
epoch: typeof captions?.epoch === "string" ? captions.epoch : undefined,
|
|
751
|
+
droppedLines: (Number.isFinite(captions?.droppedLines)
|
|
752
|
+
? Math.max(0, Math.trunc(captions.droppedLines))
|
|
753
|
+
: 0) + visibleOverflow,
|
|
754
|
+
lines: lines.map((line) => ({
|
|
755
|
+
at: typeof line?.at === "string" ? line.at : undefined,
|
|
756
|
+
speaker: typeof line?.speaker === "string" ? line.speaker : undefined,
|
|
757
|
+
text: typeof line?.text === "string" ? line.text : "",
|
|
758
|
+
})).filter((line) => line.text),
|
|
759
|
+
};
|
|
760
|
+
return JSON.stringify(result);
|
|
761
|
+
}`;
|
|
762
|
+
}
|
|
763
|
+
function zoomMeetingLeaveScript(params) {
|
|
764
|
+
const selectors = JSON.stringify(ZOOM_MEETING_SELECTORS);
|
|
765
|
+
const expectedIdentity = normalizeZoomMeetingUrlForReuse(params.meetingUrl);
|
|
766
|
+
return `() => {
|
|
767
|
+
${pageIdentityFunctionSource()}
|
|
768
|
+
const topDocument = globalThis.document;
|
|
769
|
+
const document = topDocument.querySelector("#webclient")?.contentDocument || topDocument;
|
|
770
|
+
const selectors = ${selectors};
|
|
771
|
+
const expectedIdentity = ${JSON.stringify(expectedIdentity)};
|
|
772
|
+
const expectedSessionId = ${JSON.stringify(params.meetingSessionId)};
|
|
773
|
+
const leaveInitiated = ${JSON.stringify(params.leaveInitiated)};
|
|
774
|
+
const currentIdentity = meetingIdentity(location.href);
|
|
775
|
+
const state = window.__openclawZoomMeeting;
|
|
776
|
+
const enforceSessionOwnership = Boolean(expectedSessionId);
|
|
777
|
+
if (enforceSessionOwnership && state?.sessionId && state.sessionId !== expectedSessionId) {
|
|
778
|
+
return JSON.stringify({ departed: false, sessionConflict: true, sessionMatched: false, urlMatched: true });
|
|
779
|
+
}
|
|
780
|
+
const sessionAdoptedFromUrl = Boolean(
|
|
781
|
+
enforceSessionOwnership &&
|
|
782
|
+
!state?.sessionId &&
|
|
783
|
+
currentIdentity === expectedIdentity &&
|
|
784
|
+
(!state?.identity || state.identity === expectedIdentity)
|
|
785
|
+
);
|
|
786
|
+
const sessionMatched = !enforceSessionOwnership ||
|
|
787
|
+
state?.sessionId === expectedSessionId ||
|
|
788
|
+
sessionAdoptedFromUrl;
|
|
789
|
+
const retainedLeaveOwnership = Boolean(!sessionMatched && leaveInitiated);
|
|
790
|
+
if (!sessionMatched && !retainedLeaveOwnership) {
|
|
791
|
+
return JSON.stringify({ departed: false, sessionMatched: false, urlMatched: true });
|
|
792
|
+
}
|
|
793
|
+
const retireOwnedAudioBridges = () => {
|
|
794
|
+
const entries = Array.isArray(window.__openclawZoomAudioOutputs)
|
|
795
|
+
? window.__openclawZoomAudioOutputs
|
|
796
|
+
: [];
|
|
797
|
+
const retained = [];
|
|
798
|
+
const activeSessionId = expectedSessionId || state?.sessionId;
|
|
799
|
+
for (const entry of entries) {
|
|
800
|
+
const ownedByActiveSession = Boolean(
|
|
801
|
+
!entry?.sessionId || (activeSessionId && entry.sessionId === activeSessionId)
|
|
802
|
+
);
|
|
803
|
+
if (!ownedByActiveSession) {
|
|
804
|
+
retained.push(entry);
|
|
805
|
+
continue;
|
|
806
|
+
}
|
|
807
|
+
const mediaSourceUrl = (element) => String(element?.currentSrc || element?.src || "");
|
|
808
|
+
const sources = Array.isArray(entry?.sources)
|
|
809
|
+
? entry.sources
|
|
810
|
+
: entry?.source
|
|
811
|
+
? [{ element: entry.source, muted: Boolean(entry.sourceMuted), stream: entry.stream, url: entry.sourceUrl }]
|
|
812
|
+
: [];
|
|
813
|
+
for (const source of sources) {
|
|
814
|
+
const element = source?.element;
|
|
815
|
+
const sourceMatches = source?.stream || element?.srcObject
|
|
816
|
+
? element?.srcObject === source?.stream
|
|
817
|
+
: Boolean(source?.url && mediaSourceUrl(element) === source.url);
|
|
818
|
+
const sourceIsEmpty = Boolean(element && !element.srcObject && !mediaSourceUrl(element));
|
|
819
|
+
if (!element) continue;
|
|
820
|
+
if (sourceIsEmpty) {
|
|
821
|
+
element.muted = true;
|
|
822
|
+
continue;
|
|
823
|
+
}
|
|
824
|
+
if (!sourceMatches) continue;
|
|
825
|
+
const detachedLiveSource = Boolean(
|
|
826
|
+
element.isConnected === false &&
|
|
827
|
+
element.srcObject?.getAudioTracks?.().some((track) => track.readyState === "live")
|
|
828
|
+
);
|
|
829
|
+
if (detachedLiveSource) {
|
|
830
|
+
element.muted = true;
|
|
831
|
+
element.pause?.();
|
|
832
|
+
element.srcObject = null;
|
|
833
|
+
} else {
|
|
834
|
+
element.muted = Boolean(source.muted);
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
entry?.bridge?.pause?.();
|
|
838
|
+
if (entry?.bridge) entry.bridge.srcObject = null;
|
|
839
|
+
entry?.bridge?.remove?.();
|
|
840
|
+
}
|
|
841
|
+
if (retained.length > 0) window.__openclawZoomAudioOutputs = retained;
|
|
842
|
+
else delete window.__openclawZoomAudioOutputs;
|
|
843
|
+
};
|
|
844
|
+
const first = (list) => {
|
|
845
|
+
for (const selector of list) {
|
|
846
|
+
const node = document.querySelector(selector);
|
|
847
|
+
if (!node) continue;
|
|
848
|
+
return node.matches?.("button") ? node : node.querySelector?.("button") || node.closest?.("button") || node;
|
|
849
|
+
}
|
|
850
|
+
return undefined;
|
|
851
|
+
};
|
|
852
|
+
const text = (node) => (node?.innerText || node?.textContent || "").trim();
|
|
853
|
+
const findTextButton = (pattern) => [...document.querySelectorAll("button")]
|
|
854
|
+
.find((button) => !button.disabled && pattern.test(text(button)));
|
|
855
|
+
const leave = first(selectors.leave);
|
|
856
|
+
const confirmation = first(selectors.leaveConfirmation) ||
|
|
857
|
+
findTextButton(/^leave meeting$/i);
|
|
858
|
+
const postCall = !leave && (
|
|
859
|
+
first(selectors.postCall) ||
|
|
860
|
+
[...document.querySelectorAll(".zm-modal-body-title")]
|
|
861
|
+
.find((node) => /meeting has been ended by host|you left the meeting|meeting has ended/i.test(text(node)))
|
|
862
|
+
);
|
|
863
|
+
const currentUrlMatches = Boolean(expectedIdentity && currentIdentity === expectedIdentity);
|
|
864
|
+
let webClientHome = false;
|
|
865
|
+
try {
|
|
866
|
+
const currentUrl = new URL(location.href);
|
|
867
|
+
webClientHome = !leave && currentUrl.hostname === "app.zoom.us" && /^\\/wc\\/?$/.test(currentUrl.pathname);
|
|
868
|
+
} catch {}
|
|
869
|
+
const preservedCallMatches = Boolean(
|
|
870
|
+
expectedIdentity &&
|
|
871
|
+
!currentIdentity &&
|
|
872
|
+
state?.identity === expectedIdentity &&
|
|
873
|
+
state?.inCallControl === leave &&
|
|
874
|
+
state?.inCallUrl === location.href &&
|
|
875
|
+
leave &&
|
|
876
|
+
leave.isConnected !== false
|
|
877
|
+
);
|
|
878
|
+
const pendingLeaveMatches = Boolean(
|
|
879
|
+
expectedIdentity &&
|
|
880
|
+
state?.identity === expectedIdentity &&
|
|
881
|
+
state?.leavePending === true &&
|
|
882
|
+
state?.inCallUrl === location.href &&
|
|
883
|
+
Date.now() - state?.leavePendingAt < 10_000
|
|
884
|
+
);
|
|
885
|
+
const rerenderPendingMatches = Boolean(
|
|
886
|
+
expectedIdentity &&
|
|
887
|
+
!currentIdentity &&
|
|
888
|
+
state?.identity === expectedIdentity &&
|
|
889
|
+
state?.inCallControl?.isConnected === false &&
|
|
890
|
+
state?.inCallUrl === location.href &&
|
|
891
|
+
Date.now() - state?.verifiedAt < 5_000 &&
|
|
892
|
+
!leave
|
|
893
|
+
);
|
|
894
|
+
const meetingIdentityMatches = Boolean(
|
|
895
|
+
currentUrlMatches || preservedCallMatches || pendingLeaveMatches || rerenderPendingMatches
|
|
896
|
+
);
|
|
897
|
+
// Zoom can replace the document between our Leave click and its post-call marker.
|
|
898
|
+
// Retain request ownership only while no identity or live-call control contradicts it.
|
|
899
|
+
const initiatedLeaveTransitionMatches = Boolean(
|
|
900
|
+
leaveInitiated &&
|
|
901
|
+
!currentIdentity &&
|
|
902
|
+
!leave &&
|
|
903
|
+
(!state?.identity || state.identity === expectedIdentity)
|
|
904
|
+
);
|
|
905
|
+
if ((postCall || webClientHome) && (meetingIdentityMatches || initiatedLeaveTransitionMatches)) {
|
|
906
|
+
retireOwnedAudioBridges();
|
|
907
|
+
if (sessionMatched) delete window.__openclawZoomMeeting;
|
|
908
|
+
return JSON.stringify({ departed: true, sessionMatched: true, urlMatched: true });
|
|
909
|
+
}
|
|
910
|
+
if (!meetingIdentityMatches && !initiatedLeaveTransitionMatches) {
|
|
911
|
+
return JSON.stringify({ departed: false, urlMatched: false });
|
|
912
|
+
}
|
|
913
|
+
if (!sessionMatched) {
|
|
914
|
+
return JSON.stringify({ departed: false, urlMatched: true });
|
|
915
|
+
}
|
|
916
|
+
if (confirmation) {
|
|
917
|
+
confirmation.click();
|
|
918
|
+
return JSON.stringify({ departed: false, leaveAction: "confirm", urlMatched: true });
|
|
919
|
+
}
|
|
920
|
+
if (leave) {
|
|
921
|
+
window.__openclawZoomMeeting = {
|
|
922
|
+
...state,
|
|
923
|
+
identity: expectedIdentity,
|
|
924
|
+
sessionId: expectedSessionId || state?.sessionId,
|
|
925
|
+
inCallControl: leave,
|
|
926
|
+
inCallUrl: location.href,
|
|
927
|
+
leavePending: true,
|
|
928
|
+
leavePendingAt: Date.now(),
|
|
929
|
+
};
|
|
930
|
+
leave.click();
|
|
931
|
+
return JSON.stringify({ departed: false, leaveAction: "leave", urlMatched: true });
|
|
932
|
+
}
|
|
933
|
+
return JSON.stringify({ departed: false, urlMatched: true });
|
|
934
|
+
}`;
|
|
935
|
+
}
|
|
936
|
+
//#endregion
|
|
937
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-platform-constants.ts
|
|
938
|
+
const ZOOM_MEETINGS_NODE_COMMAND = "zoommeetings.chrome";
|
|
939
|
+
const ZOOM_MEETINGS_BROWSER_NODE_ADAPTER = {
|
|
940
|
+
displayName: "Zoom meetings",
|
|
941
|
+
nodeCommandName: ZOOM_MEETINGS_NODE_COMMAND,
|
|
942
|
+
nodeConfigPath: "plugins.entries.zoom-meetings.config.chromeNode.node"
|
|
943
|
+
};
|
|
944
|
+
//#endregion
|
|
945
|
+
//#region extensions/zoom-meetings/src/transports/zoom-meetings-platform-adapter.ts
|
|
946
|
+
function zoomMeetingOrigin(meetingUrl) {
|
|
947
|
+
return normalizeZoomMeetingUrlForReuse(meetingUrl) ? "https://app.zoom.us" : void 0;
|
|
948
|
+
}
|
|
949
|
+
function classifyManualActionReason(reason) {
|
|
950
|
+
switch (reason) {
|
|
951
|
+
case "zoom-login-required": return "login-required";
|
|
952
|
+
case "zoom-admission-required":
|
|
953
|
+
case "zoom-passcode-required":
|
|
954
|
+
case "zoom-captcha-required": return "admission-required";
|
|
955
|
+
case "zoom-permission-required": return "permission-required";
|
|
956
|
+
case "zoom-audio-choice-required": return "audio-choice-required";
|
|
957
|
+
case "zoom-session-conflict": return "session-conflict";
|
|
958
|
+
case "browser-control-unavailable": return "browser-control-unavailable";
|
|
959
|
+
default: return "custom";
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
const ZOOM_MEETINGS_PLATFORM_ADAPTER = MeetingPlatformAdapter.create({
|
|
963
|
+
id: "zoom-meetings",
|
|
964
|
+
displayName: "Zoom meetings",
|
|
965
|
+
browserLabel: "Zoom meeting",
|
|
966
|
+
logScope: "[zoom-meetings]",
|
|
967
|
+
agentConsult: {
|
|
968
|
+
surface: "a private Zoom meeting",
|
|
969
|
+
userLabel: "Participant",
|
|
970
|
+
assistantLabel: "Agent",
|
|
971
|
+
questionSourceLabel: "participant",
|
|
972
|
+
workingResponseLabel: "participant",
|
|
973
|
+
extraSystemPrompt: [
|
|
974
|
+
"You are a behind-the-scenes consultant for a live meeting voice agent.",
|
|
975
|
+
"Prioritize a fast, speakable answer over exhaustive investigation.",
|
|
976
|
+
"Use only bounded, task-relevant tool calls.",
|
|
977
|
+
"Never print secrets or dump environment variables.",
|
|
978
|
+
"Be accurate, brief, and speakable."
|
|
979
|
+
].join(" ")
|
|
980
|
+
},
|
|
981
|
+
session: {
|
|
982
|
+
idPrefix: "zoom_meeting",
|
|
983
|
+
participantIdentity: (transport) => transport === "chrome-node" ? "Zoom guest in Chrome on a paired node" : "Zoom guest in the OpenClaw Chrome profile"
|
|
984
|
+
},
|
|
985
|
+
nodeCommandName: ZOOM_MEETINGS_NODE_COMMAND,
|
|
986
|
+
nodeConfigPath: "plugins.entries.zoom-meetings.config.chromeNode.node",
|
|
987
|
+
urls: {
|
|
988
|
+
validateAndNormalize: normalizeZoomMeetingUrl,
|
|
989
|
+
normalizeForReuse: normalizeZoomMeetingUrlForReuse,
|
|
990
|
+
isSameMeeting: isSameZoomMeetingUrl,
|
|
991
|
+
buildJoinUrl: (session) => session.url,
|
|
992
|
+
accountHint: () => void 0,
|
|
993
|
+
isPreferredJoinUrl: (url) => Boolean(normalizeZoomMeetingUrlForReuse(url)),
|
|
994
|
+
isRecoverableTab: isRecoverableZoomMeetingTab,
|
|
995
|
+
localeAction: () => void 0
|
|
996
|
+
},
|
|
997
|
+
browser: {
|
|
998
|
+
allowsMicrophone: MeetingPlatformAdapter.isTalkBackMode,
|
|
999
|
+
buildStatusJoinScript: (params) => zoomMeetingStatusScript({
|
|
1000
|
+
allowMicrophone: MeetingPlatformAdapter.isTalkBackMode(params.mode),
|
|
1001
|
+
allowSessionAdoption: params.allowSessionAdoption,
|
|
1002
|
+
autoJoin: params.autoJoin,
|
|
1003
|
+
captureCaptions: params.captureCaptions,
|
|
1004
|
+
guestName: params.guestName,
|
|
1005
|
+
meetingSessionId: params.meetingSessionId || void 0,
|
|
1006
|
+
meetingUrl: params.url,
|
|
1007
|
+
readOnly: params.readOnly,
|
|
1008
|
+
waitForInCallMs: params.waitForInCallMs
|
|
1009
|
+
}),
|
|
1010
|
+
shouldRetryJoinStatus: (health) => health.inCall === true && (health.manualAction?.reason === "zoom-audio-choice-required" && health.audioInputRouted === true && health.audioOutputRouteRetryable === true || health.manualAction === void 0 && health.captionCaptureRequested === true && health.captioning !== true),
|
|
1011
|
+
browserControlUnavailable: () => ({
|
|
1012
|
+
category: "browser-control-unavailable",
|
|
1013
|
+
reason: "browser-control-unavailable",
|
|
1014
|
+
message: "Open the OpenClaw browser profile, finish the Zoom sign-in, admission, or permission prompt, then retry."
|
|
1015
|
+
}),
|
|
1016
|
+
buildLeaveScript: (meetingUrl) => zoomMeetingLeaveScript({
|
|
1017
|
+
leaveInitiated: false,
|
|
1018
|
+
meetingSessionId: "",
|
|
1019
|
+
meetingUrl
|
|
1020
|
+
}),
|
|
1021
|
+
buildSessionLeaveScript: zoomMeetingLeaveScript,
|
|
1022
|
+
captions: {
|
|
1023
|
+
enabled: () => true,
|
|
1024
|
+
buildTranscriptScript: ({ finalize, meetingSessionId, meetingUrl }) => zoomMeetingTranscriptScript(meetingUrl, meetingSessionId, finalize)
|
|
1025
|
+
},
|
|
1026
|
+
permissions: ({ allowMicrophone, meetingUrl }) => {
|
|
1027
|
+
const origin = zoomMeetingOrigin(meetingUrl);
|
|
1028
|
+
return allowMicrophone && origin ? {
|
|
1029
|
+
origin,
|
|
1030
|
+
permissions: ["audioCapture"],
|
|
1031
|
+
optionalPermissions: ["speakerSelection"]
|
|
1032
|
+
} : void 0;
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
parsing: {
|
|
1036
|
+
classifyManualActionReason,
|
|
1037
|
+
displayName: "Zoom",
|
|
1038
|
+
invalidTranscriptMessage: "Zoom transcript payload is invalid.",
|
|
1039
|
+
malformedStatusMessage: "Zoom browser status JSON is malformed.",
|
|
1040
|
+
malformedTranscriptMessage: "Zoom transcript JSON is malformed.",
|
|
1041
|
+
statusFields: (parsed) => ({ meetingEnded: typeof parsed.meetingEnded === "boolean" ? parsed.meetingEnded : void 0 })
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
//#endregion
|
|
1045
|
+
//#region extensions/zoom-meetings/src/node-host.ts
|
|
1046
|
+
const handleZoomMeetingsNodeHostCommand = MeetingPlatformAdapter.createPluginNodeHostHandler({
|
|
1047
|
+
platform: ZOOM_MEETINGS_PLATFORM_ADAPTER,
|
|
1048
|
+
browserPageName: "Zoom",
|
|
1049
|
+
meetingLabel: "Zoom meeting",
|
|
1050
|
+
defaultAudioInputCommand: zoomMeetingsConfig.defaultAudioInputCommand,
|
|
1051
|
+
defaultAudioOutputCommand: zoomMeetingsConfig.defaultAudioOutputCommand,
|
|
1052
|
+
sharePrerequisiteDeadline: true
|
|
1053
|
+
});
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region extensions/zoom-meetings/src/node-invoke-policy.ts
|
|
1056
|
+
function createZoomMeetingsNodeInvokePolicy(config) {
|
|
1057
|
+
return MeetingPlatformAdapter.createPluginNodeInvokePolicy(config, {
|
|
1058
|
+
deniedCode: "ZOOM_MEETINGS_NODE_POLICY_DENIED",
|
|
1059
|
+
platform: ZOOM_MEETINGS_PLATFORM_ADAPTER
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region extensions/zoom-meetings/src/runtime-probes.ts
|
|
1064
|
+
const probes = MeetingPlatformAdapter.createRuntimeProbes({
|
|
1065
|
+
defaultSpeechMessage: "Say exactly: Zoom speech test complete.",
|
|
1066
|
+
invalidRequest: zoomMeetingsInvalidRequest,
|
|
1067
|
+
resolveTimeoutMs: (input, fallback) => MeetingPlatformAdapter.resolveProbeTimeoutMs(input, fallback, zoomMeetingsInvalidRequest),
|
|
1068
|
+
shouldWaitForListening: (session) => Boolean(session.chrome?.browserTab?.targetId),
|
|
1069
|
+
talkBackMode: MeetingPlatformAdapter.isTalkBackMode
|
|
1070
|
+
});
|
|
1071
|
+
const testZoomMeetingListening = probes.testListening;
|
|
1072
|
+
const testZoomMeetingSpeech = probes.testSpeech;
|
|
1073
|
+
//#endregion
|
|
1074
|
+
//#region extensions/zoom-meetings/src/transports/chrome.ts
|
|
1075
|
+
const chromeTransport = MeetingPlatformAdapter.createPluginChromeTransport({
|
|
1076
|
+
meetingLabel: "Zoom meeting",
|
|
1077
|
+
platform: ZOOM_MEETINGS_PLATFORM_ADAPTER,
|
|
1078
|
+
preserveTrackedBrowserOnEngineFailure: true,
|
|
1079
|
+
runtime: MeetingPlatformAdapter.createChromeRuntimeBindings()
|
|
1080
|
+
});
|
|
1081
|
+
const assertZoomMeetingsAudioAvailable = chromeTransport.assertAudioDeviceAvailable;
|
|
1082
|
+
const launchZoomMeetingInChrome = chromeTransport.launchInChrome;
|
|
1083
|
+
const launchZoomMeetingOnNode = chromeTransport.launchOnNode;
|
|
1084
|
+
const leaveZoomMeetingInBrowser = chromeTransport.leaveInBrowser;
|
|
1085
|
+
const readZoomMeetingTranscript = chromeTransport.readTranscript;
|
|
1086
|
+
const recoverCurrentZoomMeetingTab = chromeTransport.recoverCurrentTab;
|
|
1087
|
+
//#endregion
|
|
1088
|
+
//#region extensions/zoom-meetings/src/runtime-setup.ts
|
|
1089
|
+
const getZoomMeetingsSetupStatus = MeetingPlatformAdapter.createRuntimeSetup({
|
|
1090
|
+
assertAudioDeviceAvailable: assertZoomMeetingsAudioAvailable,
|
|
1091
|
+
captionsMessage: (mode) => mode === "transcribe" ? "Zoom live-caption capture is enabled and ready" : "Caption scraping is not used by talk-back modes",
|
|
1092
|
+
connectedNodeMessage: (node) => `Connected Zoom meeting node ready: ${node}`,
|
|
1093
|
+
guestJoinCheck: (config) => {
|
|
1094
|
+
const ok = Boolean(config.chrome.guestName && config.chrome.autoJoin && (config.chrome.launch || config.chrome.reuseExistingTab));
|
|
1095
|
+
return {
|
|
1096
|
+
ok,
|
|
1097
|
+
message: ok ? "Guest name, auto-join, and a Chrome launch or reuse path are configured" : "Set chrome.guestName, chrome.autoJoin, and either chrome.launch or chrome.reuseExistingTab for unattended guest joins"
|
|
1098
|
+
};
|
|
1099
|
+
},
|
|
1100
|
+
missingNodeIdMessage: "Connected Zoom meetings node did not include a node id.",
|
|
1101
|
+
nodeAdapter: ZOOM_MEETINGS_BROWSER_NODE_ADAPTER
|
|
1102
|
+
});
|
|
1103
|
+
//#endregion
|
|
1104
|
+
//#region extensions/zoom-meetings/src/runtime.ts
|
|
1105
|
+
const ZoomMeetingsRuntime = MeetingPlatformAdapter.createRuntimeFacade({
|
|
1106
|
+
platform: ZOOM_MEETINGS_PLATFORM_ADAPTER,
|
|
1107
|
+
transport: {
|
|
1108
|
+
launchInChrome: launchZoomMeetingInChrome,
|
|
1109
|
+
launchOnNode: launchZoomMeetingOnNode,
|
|
1110
|
+
leaveInBrowser: leaveZoomMeetingInBrowser,
|
|
1111
|
+
readTranscript: readZoomMeetingTranscript,
|
|
1112
|
+
recoverCurrentTab: recoverCurrentZoomMeetingTab
|
|
1113
|
+
},
|
|
1114
|
+
probes: {
|
|
1115
|
+
setupStatus: getZoomMeetingsSetupStatus,
|
|
1116
|
+
testListening: testZoomMeetingListening,
|
|
1117
|
+
testSpeech: testZoomMeetingSpeech
|
|
1118
|
+
},
|
|
1119
|
+
hooks: {
|
|
1120
|
+
normalizeJoinRequest: (request, context) => {
|
|
1121
|
+
const resolved = context.resolvedJoin(request);
|
|
1122
|
+
return {
|
|
1123
|
+
...request,
|
|
1124
|
+
agentId: resolved.agentId,
|
|
1125
|
+
url: resolved.url
|
|
1126
|
+
};
|
|
1127
|
+
},
|
|
1128
|
+
isAwaitingAdmission: (session) => session.chrome?.health?.lobbyWaiting === true || session.chrome?.health?.manualAction?.reason === "zoom-admission-required",
|
|
1129
|
+
afterStatusRefresh: async (session, context) => {
|
|
1130
|
+
const confirmedTabMissing = session.chrome?.health?.status === "browser-tab-missing";
|
|
1131
|
+
if (session.state === "active" && confirmedTabMissing) {
|
|
1132
|
+
session.browserLeft = true;
|
|
1133
|
+
await context.endSession(session.id, { keepBrowserTab: true });
|
|
1134
|
+
} else if (session.state === "active" && session.chrome?.health?.meetingEnded === true) await context.endSession(session.id);
|
|
1135
|
+
},
|
|
1136
|
+
refreshReusableSession: async (session, request, context) => {
|
|
1137
|
+
await context.refreshBrowserHealth(session, {
|
|
1138
|
+
force: true,
|
|
1139
|
+
readOnly: false
|
|
1140
|
+
});
|
|
1141
|
+
const browser = session.chrome;
|
|
1142
|
+
const health = browser?.health;
|
|
1143
|
+
const staleSession = !browser?.browserTab || health?.meetingEnded === true || health?.manualAction?.reason === "zoom-session-conflict" || health?.manualAction?.reason === "browser-control-unavailable" || health?.bridgeClosed === true;
|
|
1144
|
+
const replacePendingJoin = health?.inCall !== true && health?.manualAction?.reason === "zoom-passcode-required" && !hasSameZoomMeetingJoinCredential(session.url, request.url);
|
|
1145
|
+
if (!staleSession && !replacePendingJoin) return;
|
|
1146
|
+
session.state = "ended";
|
|
1147
|
+
session.updatedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
1148
|
+
context.noteSession(session, replacePendingJoin ? "Ended pending Zoom session after receiving a corrected meeting credential." : "Ended stale Zoom session before opening a replacement.");
|
|
1149
|
+
context.deleteRequesterSessionKey(session.id);
|
|
1150
|
+
return { keepBrowserTab: !replacePendingJoin && health?.meetingEnded !== true && health?.bridgeClosed !== true };
|
|
1151
|
+
},
|
|
1152
|
+
isAudioBridgeActive: (session) => Boolean(session.chrome?.audioBridge && session.chrome.health?.bridgeClosed !== true),
|
|
1153
|
+
afterAudioBridgeAttached: (session) => {
|
|
1154
|
+
if (session.chrome) session.chrome.health = {
|
|
1155
|
+
...session.chrome.health,
|
|
1156
|
+
bridgeClosed: false
|
|
1157
|
+
};
|
|
1158
|
+
},
|
|
1159
|
+
validateLaunchResult: (result) => {
|
|
1160
|
+
if (result.browser?.meetingEnded === true) throw new Error("The Zoom meeting has already ended.");
|
|
1161
|
+
},
|
|
1162
|
+
recordBrowserRecoveryFailure: (session, failure) => {
|
|
1163
|
+
if (!session.chrome) return;
|
|
1164
|
+
if (failure.kind === "missing") {
|
|
1165
|
+
session.chrome.browserTab = void 0;
|
|
1166
|
+
session.browserLeft = true;
|
|
1167
|
+
}
|
|
1168
|
+
session.chrome.health = {
|
|
1169
|
+
...session.chrome.health,
|
|
1170
|
+
inCall: false,
|
|
1171
|
+
micMuted: void 0,
|
|
1172
|
+
captioning: false,
|
|
1173
|
+
audioInputRouted: false,
|
|
1174
|
+
audioOutputRouted: false,
|
|
1175
|
+
manualAction: {
|
|
1176
|
+
reason: "browser-control-unavailable",
|
|
1177
|
+
message: failure.message
|
|
1178
|
+
},
|
|
1179
|
+
status: failure.kind === "missing" ? "browser-tab-missing" : "browser-control",
|
|
1180
|
+
notes: [...(session.chrome.health?.notes ?? []).filter((note) => note !== failure.message), failure.message]
|
|
1181
|
+
};
|
|
1182
|
+
session.updatedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
messages: {
|
|
1186
|
+
browserReadinessFailed: (error) => `Zoom browser readiness refresh failed: ${error}`,
|
|
1187
|
+
durableTranscripts: {
|
|
1188
|
+
providerId: "zoom",
|
|
1189
|
+
providerName: "Zoom"
|
|
1190
|
+
},
|
|
1191
|
+
joined: {
|
|
1192
|
+
local: "Zoom guest joined in local Chrome with realtime audio through the native virtual-audio backend.",
|
|
1193
|
+
node: "Zoom guest joined in Chrome on the selected node with realtime audio through the node bridge.",
|
|
1194
|
+
transcribe: "Zoom guest joined observe-only with live-caption transcript capture.",
|
|
1195
|
+
waiting: "Zoom guest join is waiting for the browser to become ready before starting realtime audio."
|
|
1196
|
+
},
|
|
1197
|
+
leaveFailed: (error) => `Browser control could not leave the Zoom meeting tab: ${error}`,
|
|
1198
|
+
noTrackedTab: "No tracked Zoom meeting tab; leave the browser meeting manually if it is still active.",
|
|
1199
|
+
sharedTab: "Kept the shared Zoom meeting tab open for another active session.",
|
|
1200
|
+
sessionRuntime: {
|
|
1201
|
+
previousBrowserLeaveFailed: "Could not leave the previous Zoom meeting tab before reassignment.",
|
|
1202
|
+
reassignedSessionNote: "Ended before the same Zoom meeting tab was reassigned to another agent.",
|
|
1203
|
+
reusedSessionNote: "Reused existing active Zoom meeting session.",
|
|
1204
|
+
replacementBrowserLeaveFailed: "Could not leave the previous Zoom meeting tab before reassignment.",
|
|
1205
|
+
speechBlockedFallback: "Realtime speech blocked until Zoom is ready.",
|
|
1206
|
+
speech: {
|
|
1207
|
+
audioBridgeUnavailable: "Realtime speech requires an active Chrome audio bridge.",
|
|
1208
|
+
browserUnverified: "Zoom browser state has not been verified yet.",
|
|
1209
|
+
microphoneMuted: "Turn on the OpenClaw Zoom microphone before asking OpenClaw to speak.",
|
|
1210
|
+
microphoneMutedReason: "zoom-microphone-muted",
|
|
1211
|
+
notInCall: "Zoom has not reported that the browser guest is in the call.",
|
|
1212
|
+
notInCallReason: "not-in-call",
|
|
1213
|
+
browserUnverifiedReason: "browser-unverified",
|
|
1214
|
+
audioBridgeUnavailableReason: "audio-bridge-unavailable"
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
});
|
|
1219
|
+
//#endregion
|
|
1220
|
+
//#region extensions/zoom-meetings/index.ts
|
|
1221
|
+
var zoom_meetings_default = MeetingPlatformAdapter.createPluginShellEntry({
|
|
1222
|
+
platform: ZOOM_MEETINGS_PLATFORM_ADAPTER,
|
|
1223
|
+
browserGuestLabel: "Zoom meeting",
|
|
1224
|
+
configSchema: zoomMeetingsConfig.configSchema,
|
|
1225
|
+
invalidRequest: zoomMeetingsInvalidRequest,
|
|
1226
|
+
isInvalidRequest: (error) => error instanceof ZoomMeetingsInvalidRequestError,
|
|
1227
|
+
toolParameters: Type.Object({
|
|
1228
|
+
action: Type.String({ enum: [
|
|
1229
|
+
"join",
|
|
1230
|
+
"leave",
|
|
1231
|
+
"status",
|
|
1232
|
+
"transcript",
|
|
1233
|
+
"speak"
|
|
1234
|
+
] }),
|
|
1235
|
+
url: Type.Optional(Type.String({ description: "Zoom meeting URL" })),
|
|
1236
|
+
transport: Type.Optional(Type.String({ enum: ["chrome", "chrome-node"] })),
|
|
1237
|
+
mode: Type.Optional(Type.String({ enum: [
|
|
1238
|
+
"agent",
|
|
1239
|
+
"bidi",
|
|
1240
|
+
"transcribe"
|
|
1241
|
+
] })),
|
|
1242
|
+
sessionId: Type.Optional(Type.String({ description: "Zoom meeting session ID" })),
|
|
1243
|
+
sinceIndex: Type.Optional(Type.Integer({
|
|
1244
|
+
minimum: 0,
|
|
1245
|
+
description: "Resume transcript from this index"
|
|
1246
|
+
})),
|
|
1247
|
+
message: Type.Optional(Type.String({ description: "Instructions to speak" }))
|
|
1248
|
+
}),
|
|
1249
|
+
resolveGatewayTimeoutMs: zoomMeetingsConfig.resolveGatewayOperationTimeoutMs,
|
|
1250
|
+
normalizeRequesterSessionKey: (value, trustedOwner) => trustedOwner && typeof value === "string" && value.trim() ? value.trim() : void 0,
|
|
1251
|
+
normalizeToolAgentId: (agentId) => normalizeAgentId(agentId),
|
|
1252
|
+
resolveToolRuntime: async (api) => {
|
|
1253
|
+
if (!await api.runtime.gateway.isAvailable()) throw new Error("Zoom meeting tools require a Gateway-hosted agent run.");
|
|
1254
|
+
return api.runtime;
|
|
1255
|
+
},
|
|
1256
|
+
transcriptSource: {
|
|
1257
|
+
id: "zoom",
|
|
1258
|
+
aliases: ["zoom-meetings"]
|
|
1259
|
+
},
|
|
1260
|
+
runtime: ZoomMeetingsRuntime,
|
|
1261
|
+
nodeHandler: handleZoomMeetingsNodeHostCommand,
|
|
1262
|
+
createNodePolicy: createZoomMeetingsNodeInvokePolicy,
|
|
1263
|
+
registerNodeWhen: (config) => config.enabled,
|
|
1264
|
+
cli: { load: async () => (await import("./cli-p_IBo6Sg.js")).registerZoomMeetingsCli }
|
|
1265
|
+
});
|
|
1266
|
+
//#endregion
|
|
1267
|
+
export { zoom_meetings_default as default };
|