pi-proactive 0.2.0-beta.5 → 0.2.0-beta.7
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/BREAKING-CHANGES.md +27 -0
- package/CHANGELOG.md +78 -0
- package/README.md +32 -14
- package/app/app.mjs +1378 -0
- package/daemon/run-daemon.mjs +268 -0
- package/manual/USAGE.html +76 -0
- package/package.json +12 -6
- package/skills/pi-proactive/SKILL.md +11 -16
- package/tools/daemon-common.mjs +289 -0
- package/tools/daemon-install.mjs +488 -0
- package/tools/daemon-uninstall.mjs +302 -0
- package/tools/enumerate-residue.mjs +487 -0
- package/tools/verify-windows.mjs +358 -0
- package/node_modules/typebox/build/compile/code.d.mts +0 -12
- package/node_modules/typebox/build/compile/code.mjs +0 -65
- package/node_modules/typebox/build/compile/compile.d.mts +0 -6
- package/node_modules/typebox/build/compile/compile.mjs +0 -12
- package/node_modules/typebox/build/compile/index.d.mts +0 -8
- package/node_modules/typebox/build/compile/index.mjs +0 -14
- package/node_modules/typebox/build/compile/validator.d.mts +0 -35
- package/node_modules/typebox/build/compile/validator.mjs +0 -91
- package/node_modules/typebox/build/error/errors.d.mts +0 -208
- package/node_modules/typebox/build/error/errors.mjs +0 -18
- package/node_modules/typebox/build/error/index.d.mts +0 -1
- package/node_modules/typebox/build/error/index.mjs +0 -1
- package/node_modules/typebox/build/format/_registry.d.mts +0 -15
- package/node_modules/typebox/build/format/_registry.mjs +0 -96
- package/node_modules/typebox/build/format/date.d.mts +0 -6
- package/node_modules/typebox/build/format/date.mjs +0 -19
- package/node_modules/typebox/build/format/date_time.d.mts +0 -6
- package/node_modules/typebox/build/format/date_time.mjs +0 -11
- package/node_modules/typebox/build/format/duration.d.mts +0 -5
- package/node_modules/typebox/build/format/duration.mjs +0 -8
- package/node_modules/typebox/build/format/email.d.mts +0 -5
- package/node_modules/typebox/build/format/email.mjs +0 -8
- package/node_modules/typebox/build/format/format.d.mts +0 -22
- package/node_modules/typebox/build/format/format.mjs +0 -22
- package/node_modules/typebox/build/format/hostname.d.mts +0 -7
- package/node_modules/typebox/build/format/hostname.mjs +0 -10
- package/node_modules/typebox/build/format/idn_email.d.mts +0 -5
- package/node_modules/typebox/build/format/idn_email.mjs +0 -8
- package/node_modules/typebox/build/format/idn_hostname.d.mts +0 -8
- package/node_modules/typebox/build/format/idn_hostname.mjs +0 -11
- package/node_modules/typebox/build/format/idna/format/bidi.d.mts +0 -3
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +0 -98
- package/node_modules/typebox/build/format/idna/format/puny.d.mts +0 -3
- package/node_modules/typebox/build/format/idna/format/puny.mjs +0 -144
- package/node_modules/typebox/build/format/idna/hostname.d.mts +0 -1
- package/node_modules/typebox/build/format/idna/hostname.mjs +0 -16
- package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +0 -1
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +0 -43
- package/node_modules/typebox/build/format/idna/index.d.mts +0 -2
- package/node_modules/typebox/build/format/idna/index.mjs +0 -2
- package/node_modules/typebox/build/format/idna/label/ascii.d.mts +0 -1
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +0 -9
- package/node_modules/typebox/build/format/idna/label/puny.d.mts +0 -1
- package/node_modules/typebox/build/format/idna/label/puny.mjs +0 -28
- package/node_modules/typebox/build/format/idna/label/unicode.d.mts +0 -1
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +0 -106
- package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +0 -30
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +0 -70
- package/node_modules/typebox/build/format/index.d.mts +0 -4
- package/node_modules/typebox/build/format/index.mjs +0 -4
- package/node_modules/typebox/build/format/ipv4.d.mts +0 -5
- package/node_modules/typebox/build/format/ipv4.mjs +0 -8
- package/node_modules/typebox/build/format/ipv6.d.mts +0 -5
- package/node_modules/typebox/build/format/ipv6.mjs +0 -8
- package/node_modules/typebox/build/format/iri.d.mts +0 -5
- package/node_modules/typebox/build/format/iri.mjs +0 -35
- package/node_modules/typebox/build/format/iri_reference.d.mts +0 -5
- package/node_modules/typebox/build/format/iri_reference.mjs +0 -14
- package/node_modules/typebox/build/format/json_pointer.d.mts +0 -6
- package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +0 -6
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
- package/node_modules/typebox/build/format/regex.d.mts +0 -5
- package/node_modules/typebox/build/format/regex.mjs +0 -13
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +0 -6
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/time.d.mts +0 -5
- package/node_modules/typebox/build/format/time.mjs +0 -32
- package/node_modules/typebox/build/format/uri.d.mts +0 -5
- package/node_modules/typebox/build/format/uri.mjs +0 -8
- package/node_modules/typebox/build/format/uri_reference.d.mts +0 -5
- package/node_modules/typebox/build/format/uri_reference.mjs +0 -8
- package/node_modules/typebox/build/format/uri_template.d.mts +0 -5
- package/node_modules/typebox/build/format/uri_template.mjs +0 -9
- package/node_modules/typebox/build/format/url.d.mts +0 -6
- package/node_modules/typebox/build/format/url.mjs +0 -8
- package/node_modules/typebox/build/format/uuid.d.mts +0 -6
- package/node_modules/typebox/build/format/uuid.mjs +0 -9
- package/node_modules/typebox/build/guard/emit.d.mts +0 -56
- package/node_modules/typebox/build/guard/emit.mjs +0 -191
- package/node_modules/typebox/build/guard/globals.d.mts +0 -35
- package/node_modules/typebox/build/guard/globals.mjs +0 -90
- package/node_modules/typebox/build/guard/guard.d.mts +0 -71
- package/node_modules/typebox/build/guard/guard.mjs +0 -221
- package/node_modules/typebox/build/guard/index.d.mts +0 -6
- package/node_modules/typebox/build/guard/index.mjs +0 -6
- package/node_modules/typebox/build/guard/native.d.mts +0 -20
- package/node_modules/typebox/build/guard/native.mjs +0 -60
- package/node_modules/typebox/build/guard/string.d.mts +0 -6
- package/node_modules/typebox/build/guard/string.mjs +0 -168
- package/node_modules/typebox/build/index.d.mts +0 -8
- package/node_modules/typebox/build/index.mjs +0 -14
- package/node_modules/typebox/build/schema/build.d.mts +0 -39
- package/node_modules/typebox/build/schema/build.mjs +0 -118
- package/node_modules/typebox/build/schema/check.d.mts +0 -6
- package/node_modules/typebox/build/schema/check.mjs +0 -14
- package/node_modules/typebox/build/schema/compile.d.mts +0 -23
- package/node_modules/typebox/build/schema/compile.mjs +0 -46
- package/node_modules/typebox/build/schema/engine/_context.d.mts +0 -30
- package/node_modules/typebox/build/schema/engine/_context.mjs +0 -124
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +0 -3
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +0 -7
- package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -65
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +0 -4
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
- package/node_modules/typebox/build/schema/engine/_regexp.d.mts +0 -2
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +0 -4
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +0 -22
- package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -209
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +0 -2
- package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -60
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -123
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +0 -5
- package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/const.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
- package/node_modules/typebox/build/schema/engine/contains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/contains.mjs +0 -54
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/enum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/format.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
- package/node_modules/typebox/build/schema/engine/if.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/index.d.mts +0 -48
- package/node_modules/typebox/build/schema/engine/index.mjs +0 -54
- package/node_modules/typebox/build/schema/engine/items.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/items.mjs +0 -88
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/not.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/not.mjs +0 -39
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -59
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -29
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
- package/node_modules/typebox/build/schema/engine/properties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -37
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/ref.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/ref.mjs +0 -52
- package/node_modules/typebox/build/schema/engine/required.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
- package/node_modules/typebox/build/schema/engine/schema.d.mts +0 -9
- package/node_modules/typebox/build/schema/engine/schema.mjs +0 -362
- package/node_modules/typebox/build/schema/engine/type.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/type.mjs +0 -70
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
- package/node_modules/typebox/build/schema/errors.d.mts +0 -6
- package/node_modules/typebox/build/schema/errors.mjs +0 -18
- package/node_modules/typebox/build/schema/index.d.mts +0 -3
- package/node_modules/typebox/build/schema/index.mjs +0 -9
- package/node_modules/typebox/build/schema/intern/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/intern/index.mjs +0 -1
- package/node_modules/typebox/build/schema/intern/intern.d.mts +0 -14
- package/node_modules/typebox/build/schema/intern/intern.mjs +0 -259
- package/node_modules/typebox/build/schema/parse.d.mts +0 -14
- package/node_modules/typebox/build/schema/parse.mjs +0 -32
- package/node_modules/typebox/build/schema/pointer/index.d.mts +0 -2
- package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +0 -10
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +0 -9
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
- package/node_modules/typebox/build/schema/resolve/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +0 -35
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -327
- package/node_modules/typebox/build/schema/schema.d.mts +0 -11
- package/node_modules/typebox/build/schema/schema.mjs +0 -11
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +0 -6
- package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_elements.d.mts +0 -18
- package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/static/allOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/const.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/const.mjs +0 -2
- package/node_modules/typebox/build/schema/static/enum.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
- package/node_modules/typebox/build/schema/static/if.d.mts +0 -15
- package/node_modules/typebox/build/schema/static/if.mjs +0 -2
- package/node_modules/typebox/build/schema/static/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/index.mjs +0 -1
- package/node_modules/typebox/build/schema/static/items.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/items.mjs +0 -2
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
- package/node_modules/typebox/build/schema/static/properties.d.mts +0 -32
- package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/propertyNames.d.mts +0 -5
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +0 -3
- package/node_modules/typebox/build/schema/static/ref.d.mts +0 -8
- package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
- package/node_modules/typebox/build/schema/static/required.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/required.mjs +0 -3
- package/node_modules/typebox/build/schema/static/schema.d.mts +0 -59
- package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
- package/node_modules/typebox/build/schema/static/static.d.mts +0 -4
- package/node_modules/typebox/build/schema/static/static.mjs +0 -3
- package/node_modules/typebox/build/schema/static/type.d.mts +0 -4
- package/node_modules/typebox/build/schema/static/type.mjs +0 -3
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/types/_refine.d.mts +0 -13
- package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/allOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/anchor.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/const.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/const.mjs +0 -12
- package/node_modules/typebox/build/schema/types/contains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
- package/node_modules/typebox/build/schema/types/default.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/default.mjs +0 -12
- package/node_modules/typebox/build/schema/types/defs.d.mts +0 -6
- package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +0 -11
- package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/else.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/else.mjs +0 -14
- package/node_modules/typebox/build/schema/types/enum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/format.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/format.mjs +0 -13
- package/node_modules/typebox/build/schema/types/id.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/id.mjs +0 -13
- package/node_modules/typebox/build/schema/types/if.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/if.mjs +0 -14
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -51
- package/node_modules/typebox/build/schema/types/index.mjs +0 -57
- package/node_modules/typebox/build/schema/types/items.d.mts +0 -19
- package/node_modules/typebox/build/schema/types/items.mjs +0 -26
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maximum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minContains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minLength.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minimum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
- package/node_modules/typebox/build/schema/types/not.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/not.mjs +0 -14
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/pattern.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/properties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +0 -12
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/ref.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
- package/node_modules/typebox/build/schema/types/required.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/required.mjs +0 -14
- package/node_modules/typebox/build/schema/types/schema.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
- package/node_modules/typebox/build/schema/types/then.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/then.mjs +0 -14
- package/node_modules/typebox/build/schema/types/type.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/type.mjs +0 -15
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +0 -5
- package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
- package/node_modules/typebox/build/system/arguments/index.d.mts +0 -1
- package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
- package/node_modules/typebox/build/system/environment/environment.d.mts +0 -1
- package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +0 -9
- package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
- package/node_modules/typebox/build/system/environment/index.d.mts +0 -1
- package/node_modules/typebox/build/system/environment/index.mjs +0 -1
- package/node_modules/typebox/build/system/hashing/hash.d.mts +0 -4
- package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
- package/node_modules/typebox/build/system/hashing/index.d.mts +0 -1
- package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
- package/node_modules/typebox/build/system/index.d.mts +0 -4
- package/node_modules/typebox/build/system/index.mjs +0 -4
- package/node_modules/typebox/build/system/locale/_config.d.mts +0 -7
- package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
- package/node_modules/typebox/build/system/locale/_locale.d.mts +0 -40
- package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -40
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -40
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -40
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -40
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/en_US.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/en_US.mjs +0 -39
- package/node_modules/typebox/build/system/locale/es_419.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_419.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -40
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -40
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -40
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -40
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -40
- package/node_modules/typebox/build/system/locale/index.d.mts +0 -1
- package/node_modules/typebox/build/system/locale/index.mjs +0 -1
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -40
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -40
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -40
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -40
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -40
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -40
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -40
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -40
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -40
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -40
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -40
- package/node_modules/typebox/build/system/memory/assign.d.mts +0 -14
- package/node_modules/typebox/build/system/memory/assign.mjs +0 -12
- package/node_modules/typebox/build/system/memory/clone.d.mts +0 -5
- package/node_modules/typebox/build/system/memory/clone.mjs +0 -113
- package/node_modules/typebox/build/system/memory/create.d.mts +0 -8
- package/node_modules/typebox/build/system/memory/create.mjs +0 -29
- package/node_modules/typebox/build/system/memory/discard.d.mts +0 -4
- package/node_modules/typebox/build/system/memory/discard.mjs +0 -18
- package/node_modules/typebox/build/system/memory/freeze.d.mts +0 -4
- package/node_modules/typebox/build/system/memory/freeze.mjs +0 -6
- package/node_modules/typebox/build/system/memory/index.d.mts +0 -1
- package/node_modules/typebox/build/system/memory/index.mjs +0 -1
- package/node_modules/typebox/build/system/memory/memory.d.mts +0 -6
- package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
- package/node_modules/typebox/build/system/memory/metrics.d.mts +0 -14
- package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
- package/node_modules/typebox/build/system/memory/update.d.mts +0 -7
- package/node_modules/typebox/build/system/memory/update.mjs +0 -33
- package/node_modules/typebox/build/system/settings/index.d.mts +0 -1
- package/node_modules/typebox/build/system/settings/index.mjs +0 -1
- package/node_modules/typebox/build/system/settings/settings.d.mts +0 -80
- package/node_modules/typebox/build/system/settings/settings.mjs +0 -36
- package/node_modules/typebox/build/system/system.d.mts +0 -6
- package/node_modules/typebox/build/system/system.mjs +0 -6
- package/node_modules/typebox/build/system/unreachable/index.d.mts +0 -1
- package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +0 -3
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
- package/node_modules/typebox/build/type/action/_add_immutable.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +0 -11
- package/node_modules/typebox/build/type/action/_add_optional.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_add_optional.mjs +0 -11
- package/node_modules/typebox/build/type/action/_add_readonly.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_optional.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +0 -11
- package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +0 -11
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +0 -11
- package/node_modules/typebox/build/type/action/capitalize.d.mts +0 -11
- package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/conditional.d.mts +0 -12
- package/node_modules/typebox/build/type/action/conditional.mjs +0 -13
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +0 -11
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/evaluate.d.mts +0 -11
- package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
- package/node_modules/typebox/build/type/action/exclude.d.mts +0 -11
- package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
- package/node_modules/typebox/build/type/action/extract.d.mts +0 -11
- package/node_modules/typebox/build/type/action/extract.mjs +0 -11
- package/node_modules/typebox/build/type/action/index.d.mts +0 -30
- package/node_modules/typebox/build/type/action/index.mjs +0 -30
- package/node_modules/typebox/build/type/action/indexed.d.mts +0 -14
- package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
- package/node_modules/typebox/build/type/action/instance_type.d.mts +0 -11
- package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/interface.d.mts +0 -14
- package/node_modules/typebox/build/type/action/interface.mjs +0 -22
- package/node_modules/typebox/build/type/action/keyof.d.mts +0 -11
- package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
- package/node_modules/typebox/build/type/action/lowercase.d.mts +0 -11
- package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
- package/node_modules/typebox/build/type/action/mapped.d.mts +0 -13
- package/node_modules/typebox/build/type/action/mapped.mjs +0 -13
- package/node_modules/typebox/build/type/action/module.d.mts +0 -13
- package/node_modules/typebox/build/type/action/module.mjs +0 -13
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +0 -11
- package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
- package/node_modules/typebox/build/type/action/omit.d.mts +0 -14
- package/node_modules/typebox/build/type/action/omit.mjs +0 -14
- package/node_modules/typebox/build/type/action/parameters.d.mts +0 -11
- package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/partial.d.mts +0 -11
- package/node_modules/typebox/build/type/action/partial.mjs +0 -11
- package/node_modules/typebox/build/type/action/pick.d.mts +0 -14
- package/node_modules/typebox/build/type/action/pick.mjs +0 -14
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -16
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -19
- package/node_modules/typebox/build/type/action/required.d.mts +0 -11
- package/node_modules/typebox/build/type/action/required.mjs +0 -11
- package/node_modules/typebox/build/type/action/return_type.d.mts +0 -11
- package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +0 -11
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/uppercase.d.mts +0 -11
- package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
- package/node_modules/typebox/build/type/action/with.d.mts +0 -11
- package/node_modules/typebox/build/type/action/with.mjs +0 -11
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -66
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +0 -21
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -79
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +0 -25
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -16
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +0 -21
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -45
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +0 -22
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -47
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +0 -28
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -47
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +0 -17
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -31
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -37
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -18
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +0 -37
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -60
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -33
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +0 -26
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -56
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -10
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -31
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -22
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -22
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/index.d.mts +0 -31
- package/node_modules/typebox/build/type/engine/index.mjs +0 -37
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +0 -19
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -25
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -28
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +0 -178
- package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -158
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +0 -38
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -29
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +0 -22
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +0 -17
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -39
- package/node_modules/typebox/build/type/engine/module/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +0 -19
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -36
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +0 -17
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -23
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
- package/node_modules/typebox/build/type/engine/object/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +0 -2
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/priority/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/priority/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +0 -27
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +0 -14
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +0 -14
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +0 -18
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -25
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +0 -24
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
- package/node_modules/typebox/build/type/engine/record/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +0 -8
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/required/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +0 -30
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +0 -33
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -10
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +0 -18
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -26
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
- package/node_modules/typebox/build/type/engine/with/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/with/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +0 -14
- package/node_modules/typebox/build/type/extends/any.d.mts +0 -9
- package/node_modules/typebox/build/type/extends/any.mjs +0 -12
- package/node_modules/typebox/build/type/extends/array.d.mts +0 -20
- package/node_modules/typebox/build/type/extends/array.mjs +0 -21
- package/node_modules/typebox/build/type/extends/bigint.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
- package/node_modules/typebox/build/type/extends/boolean.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
- package/node_modules/typebox/build/type/extends/constructor.d.mts +0 -10
- package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
- package/node_modules/typebox/build/type/extends/dependent.d.mts +0 -6
- package/node_modules/typebox/build/type/extends/dependent.mjs +0 -6
- package/node_modules/typebox/build/type/extends/enum.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/enum.mjs +0 -7
- package/node_modules/typebox/build/type/extends/extends.d.mts +0 -13
- package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +0 -53
- package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -80
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +0 -27
- package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -49
- package/node_modules/typebox/build/type/extends/function.d.mts +0 -10
- package/node_modules/typebox/build/type/extends/function.mjs +0 -17
- package/node_modules/typebox/build/type/extends/index.d.mts +0 -2
- package/node_modules/typebox/build/type/extends/index.mjs +0 -2
- package/node_modules/typebox/build/type/extends/inference.d.mts +0 -34
- package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
- package/node_modules/typebox/build/type/extends/integer.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
- package/node_modules/typebox/build/type/extends/intersect.d.mts +0 -6
- package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
- package/node_modules/typebox/build/type/extends/literal.d.mts +0 -18
- package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
- package/node_modules/typebox/build/type/extends/never.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/never.mjs +0 -9
- package/node_modules/typebox/build/type/extends/null.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/null.mjs +0 -9
- package/node_modules/typebox/build/type/extends/number.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/number.mjs +0 -9
- package/node_modules/typebox/build/type/extends/object.d.mts +0 -32
- package/node_modules/typebox/build/type/extends/object.mjs +0 -109
- package/node_modules/typebox/build/type/extends/parameters.d.mts +0 -15
- package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
- package/node_modules/typebox/build/type/extends/record.d.mts +0 -13
- package/node_modules/typebox/build/type/extends/record.mjs +0 -23
- package/node_modules/typebox/build/type/extends/result.d.mts +0 -24
- package/node_modules/typebox/build/type/extends/result.mjs +0 -36
- package/node_modules/typebox/build/type/extends/return_type.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
- package/node_modules/typebox/build/type/extends/string.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/string.mjs +0 -9
- package/node_modules/typebox/build/type/extends/symbol.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +0 -6
- package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
- package/node_modules/typebox/build/type/extends/tuple.d.mts +0 -22
- package/node_modules/typebox/build/type/extends/tuple.mjs +0 -61
- package/node_modules/typebox/build/type/extends/undefined.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
- package/node_modules/typebox/build/type/extends/union.d.mts +0 -11
- package/node_modules/typebox/build/type/extends/union.mjs +0 -24
- package/node_modules/typebox/build/type/extends/unknown.d.mts +0 -9
- package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
- package/node_modules/typebox/build/type/extends/void.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/void.mjs +0 -9
- package/node_modules/typebox/build/type/index.d.mts +0 -5
- package/node_modules/typebox/build/type/index.mjs +0 -5
- package/node_modules/typebox/build/type/script/index.d.mts +0 -1
- package/node_modules/typebox/build/type/script/index.mjs +0 -1
- package/node_modules/typebox/build/type/script/mapping.d.mts +0 -356
- package/node_modules/typebox/build/type/script/mapping.mjs +0 -528
- package/node_modules/typebox/build/type/script/parser.d.mts +0 -256
- package/node_modules/typebox/build/type/script/parser.mjs +0 -140
- package/node_modules/typebox/build/type/script/script.d.mts +0 -16
- package/node_modules/typebox/build/type/script/script.mjs +0 -22
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +0 -8
- package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/const.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
- package/node_modules/typebox/build/type/script/token/ident.d.mts +0 -16
- package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/index.d.mts +0 -12
- package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
- package/node_modules/typebox/build/type/script/token/integer.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +0 -75
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +0 -1
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +0 -7
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +0 -6
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +0 -5
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +0 -6
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +0 -19
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
- package/node_modules/typebox/build/type/script/token/number.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/rest.d.mts +0 -4
- package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/span.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
- package/node_modules/typebox/build/type/script/token/string.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +0 -16
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +0 -17
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
- package/node_modules/typebox/build/type/script/token/until.d.mts +0 -7
- package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +0 -5
- package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
- package/node_modules/typebox/build/type/types/_codec.d.mts +0 -30
- package/node_modules/typebox/build/type/types/_codec.mjs +0 -60
- package/node_modules/typebox/build/type/types/_immutable.d.mts +0 -9
- package/node_modules/typebox/build/type/types/_immutable.mjs +0 -18
- package/node_modules/typebox/build/type/types/_optional.d.mts +0 -9
- package/node_modules/typebox/build/type/types/_optional.mjs +0 -18
- package/node_modules/typebox/build/type/types/_readonly.d.mts +0 -9
- package/node_modules/typebox/build/type/types/_readonly.mjs +0 -18
- package/node_modules/typebox/build/type/types/_refine.d.mts +0 -24
- package/node_modules/typebox/build/type/types/_refine.mjs +0 -36
- package/node_modules/typebox/build/type/types/any.d.mts +0 -10
- package/node_modules/typebox/build/type/types/any.mjs +0 -18
- package/node_modules/typebox/build/type/types/array.d.mts +0 -18
- package/node_modules/typebox/build/type/types/array.mjs +0 -25
- package/node_modules/typebox/build/type/types/bigint.d.mts +0 -12
- package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
- package/node_modules/typebox/build/type/types/boolean.d.mts +0 -11
- package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
- package/node_modules/typebox/build/type/types/call.d.mts +0 -16
- package/node_modules/typebox/build/type/types/call.mjs +0 -23
- package/node_modules/typebox/build/type/types/constructor.d.mts +0 -18
- package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
- package/node_modules/typebox/build/type/types/cyclic.d.mts +0 -16
- package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
- package/node_modules/typebox/build/type/types/deferred.d.mts +0 -13
- package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
- package/node_modules/typebox/build/type/types/dependent.d.mts +0 -17
- package/node_modules/typebox/build/type/types/dependent.mjs +0 -24
- package/node_modules/typebox/build/type/types/enum.d.mts +0 -18
- package/node_modules/typebox/build/type/types/enum.mjs +0 -22
- package/node_modules/typebox/build/type/types/function.d.mts +0 -21
- package/node_modules/typebox/build/type/types/function.mjs +0 -25
- package/node_modules/typebox/build/type/types/generic.d.mts +0 -13
- package/node_modules/typebox/build/type/types/generic.mjs +0 -17
- package/node_modules/typebox/build/type/types/identifier.d.mts +0 -11
- package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
- package/node_modules/typebox/build/type/types/index.d.mts +0 -45
- package/node_modules/typebox/build/type/types/index.mjs +0 -51
- package/node_modules/typebox/build/type/types/infer.d.mts +0 -15
- package/node_modules/typebox/build/type/types/infer.mjs +0 -20
- package/node_modules/typebox/build/type/types/integer.d.mts +0 -12
- package/node_modules/typebox/build/type/types/integer.mjs +0 -21
- package/node_modules/typebox/build/type/types/intersect.d.mts +0 -15
- package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
- package/node_modules/typebox/build/type/types/literal.d.mts +0 -31
- package/node_modules/typebox/build/type/types/literal.mjs +0 -62
- package/node_modules/typebox/build/type/types/never.d.mts +0 -12
- package/node_modules/typebox/build/type/types/never.mjs +0 -22
- package/node_modules/typebox/build/type/types/null.d.mts +0 -11
- package/node_modules/typebox/build/type/types/null.mjs +0 -17
- package/node_modules/typebox/build/type/types/number.d.mts +0 -12
- package/node_modules/typebox/build/type/types/number.mjs +0 -21
- package/node_modules/typebox/build/type/types/object.d.mts +0 -18
- package/node_modules/typebox/build/type/types/object.mjs +0 -28
- package/node_modules/typebox/build/type/types/parameter.d.mts +0 -17
- package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
- package/node_modules/typebox/build/type/types/properties.d.mts +0 -43
- package/node_modules/typebox/build/type/types/properties.mjs +0 -15
- package/node_modules/typebox/build/type/types/record.d.mts +0 -52
- package/node_modules/typebox/build/type/types/record.mjs +0 -66
- package/node_modules/typebox/build/type/types/ref.d.mts +0 -19
- package/node_modules/typebox/build/type/types/ref.mjs +0 -18
- package/node_modules/typebox/build/type/types/rest.d.mts +0 -11
- package/node_modules/typebox/build/type/types/rest.mjs +0 -17
- package/node_modules/typebox/build/type/types/schema.d.mts +0 -176
- package/node_modules/typebox/build/type/types/schema.mjs +0 -15
- package/node_modules/typebox/build/type/types/static.d.mts +0 -45
- package/node_modules/typebox/build/type/types/static.mjs +0 -3
- package/node_modules/typebox/build/type/types/string.d.mts +0 -12
- package/node_modules/typebox/build/type/types/string.mjs +0 -22
- package/node_modules/typebox/build/type/types/symbol.d.mts +0 -11
- package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
- package/node_modules/typebox/build/type/types/template_literal.d.mts +0 -28
- package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
- package/node_modules/typebox/build/type/types/this.d.mts +0 -14
- package/node_modules/typebox/build/type/types/this.mjs +0 -17
- package/node_modules/typebox/build/type/types/tuple.d.mts +0 -38
- package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
- package/node_modules/typebox/build/type/types/undefined.d.mts +0 -11
- package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
- package/node_modules/typebox/build/type/types/union.d.mts +0 -15
- package/node_modules/typebox/build/type/types/union.mjs +0 -24
- package/node_modules/typebox/build/type/types/unknown.d.mts +0 -10
- package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
- package/node_modules/typebox/build/type/types/unsafe.d.mts +0 -10
- package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
- package/node_modules/typebox/build/type/types/void.d.mts +0 -11
- package/node_modules/typebox/build/type/types/void.mjs +0 -17
- package/node_modules/typebox/build/typebox.d.mts +0 -69
- package/node_modules/typebox/build/typebox.mjs +0 -85
- package/node_modules/typebox/build/value/assert/assert.d.mts +0 -14
- package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
- package/node_modules/typebox/build/value/assert/index.d.mts +0 -1
- package/node_modules/typebox/build/value/assert/index.mjs +0 -1
- package/node_modules/typebox/build/value/check/check.d.mts +0 -5
- package/node_modules/typebox/build/value/check/check.mjs +0 -11
- package/node_modules/typebox/build/value/check/index.d.mts +0 -1
- package/node_modules/typebox/build/value/check/index.mjs +0 -1
- package/node_modules/typebox/build/value/clean/additional.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
- package/node_modules/typebox/build/value/clean/clean.d.mts +0 -15
- package/node_modules/typebox/build/value/clean/clean.mjs +0 -17
- package/node_modules/typebox/build/value/clean/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
- package/node_modules/typebox/build/value/clean/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
- package/node_modules/typebox/build/value/clean/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/clean/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_type.mjs +0 -21
- package/node_modules/typebox/build/value/clean/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_union.mjs +0 -12
- package/node_modules/typebox/build/value/clean/index.d.mts +0 -1
- package/node_modules/typebox/build/value/clean/index.mjs +0 -1
- package/node_modules/typebox/build/value/clone/clone.d.mts +0 -5
- package/node_modules/typebox/build/value/clone/clone.mjs +0 -12
- package/node_modules/typebox/build/value/clone/index.d.mts +0 -1
- package/node_modules/typebox/build/value/clone/index.mjs +0 -1
- package/node_modules/typebox/build/value/codec/callback.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
- package/node_modules/typebox/build/value/codec/decode.d.mts +0 -12
- package/node_modules/typebox/build/value/codec/decode.mjs +0 -52
- package/node_modules/typebox/build/value/codec/encode.d.mts +0 -12
- package/node_modules/typebox/build/value/codec/encode.mjs +0 -52
- package/node_modules/typebox/build/value/codec/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_array.mjs +0 -35
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
- package/node_modules/typebox/build/value/codec/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_object.mjs +0 -42
- package/node_modules/typebox/build/value/codec/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_record.mjs +0 -39
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -32
- package/node_modules/typebox/build/value/codec/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
- package/node_modules/typebox/build/value/codec/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_union.mjs +0 -39
- package/node_modules/typebox/build/value/codec/has.d.mts +0 -5
- package/node_modules/typebox/build/value/codec/has.mjs +0 -93
- package/node_modules/typebox/build/value/codec/index.d.mts +0 -3
- package/node_modules/typebox/build/value/codec/index.mjs +0 -3
- package/node_modules/typebox/build/value/convert/convert.d.mts +0 -13
- package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +0 -6
- package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
- package/node_modules/typebox/build/value/convert/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
- package/node_modules/typebox/build/value/convert/from_null.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_number.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
- package/node_modules/typebox/build/value/convert/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_string.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
- package/node_modules/typebox/build/value/convert/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_type.mjs +0 -43
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
- package/node_modules/typebox/build/value/convert/from_void.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
- package/node_modules/typebox/build/value/convert/index.d.mts +0 -1
- package/node_modules/typebox/build/value/convert/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/index.d.mts +0 -1
- package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/try.d.mts +0 -8
- package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +0 -8
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
- package/node_modules/typebox/build/value/create/create.d.mts +0 -5
- package/node_modules/typebox/build/value/create/create.mjs +0 -11
- package/node_modules/typebox/build/value/create/error.d.mts +0 -5
- package/node_modules/typebox/build/value/create/error.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_default.d.mts +0 -3
- package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_function.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_integer.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_never.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_null.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_number.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_string.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_type.mjs +0 -61
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_void.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
- package/node_modules/typebox/build/value/create/index.d.mts +0 -2
- package/node_modules/typebox/build/value/create/index.mjs +0 -2
- package/node_modules/typebox/build/value/default/default.d.mts +0 -13
- package/node_modules/typebox/build/value/default/default.mjs +0 -15
- package/node_modules/typebox/build/value/default/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
- package/node_modules/typebox/build/value/default/from_default.d.mts +0 -3
- package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
- package/node_modules/typebox/build/value/default/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
- package/node_modules/typebox/build/value/default/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/default/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_type.mjs +0 -25
- package/node_modules/typebox/build/value/default/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
- package/node_modules/typebox/build/value/default/index.d.mts +0 -1
- package/node_modules/typebox/build/value/default/index.mjs +0 -1
- package/node_modules/typebox/build/value/delta/diff.d.mts +0 -10
- package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
- package/node_modules/typebox/build/value/delta/edit.d.mts +0 -24
- package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
- package/node_modules/typebox/build/value/delta/index.d.mts +0 -3
- package/node_modules/typebox/build/value/delta/index.mjs +0 -3
- package/node_modules/typebox/build/value/delta/patch.d.mts +0 -8
- package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
- package/node_modules/typebox/build/value/equal/equal.d.mts +0 -2
- package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
- package/node_modules/typebox/build/value/equal/index.d.mts +0 -1
- package/node_modules/typebox/build/value/equal/index.mjs +0 -1
- package/node_modules/typebox/build/value/errors/errors.d.mts +0 -6
- package/node_modules/typebox/build/value/errors/errors.mjs +0 -12
- package/node_modules/typebox/build/value/errors/index.d.mts +0 -1
- package/node_modules/typebox/build/value/errors/index.mjs +0 -1
- package/node_modules/typebox/build/value/hash/hash.d.mts +0 -6
- package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
- package/node_modules/typebox/build/value/hash/index.d.mts +0 -1
- package/node_modules/typebox/build/value/hash/index.mjs +0 -1
- package/node_modules/typebox/build/value/index.d.mts +0 -20
- package/node_modules/typebox/build/value/index.mjs +0 -29
- package/node_modules/typebox/build/value/parse/index.d.mts +0 -1
- package/node_modules/typebox/build/value/parse/index.mjs +0 -1
- package/node_modules/typebox/build/value/parse/parse.d.mts +0 -11
- package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
- package/node_modules/typebox/build/value/pipeline/index.d.mts +0 -1
- package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +0 -10
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
- package/node_modules/typebox/build/value/pointer/index.d.mts +0 -1
- package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/error.d.mts +0 -7
- package/node_modules/typebox/build/value/repair/error.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
- package/node_modules/typebox/build/value/repair/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_type.mjs +0 -88
- package/node_modules/typebox/build/value/repair/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
- package/node_modules/typebox/build/value/repair/index.d.mts +0 -1
- package/node_modules/typebox/build/value/repair/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/repair.d.mts +0 -17
- package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
- package/node_modules/typebox/build/value/shared/index.d.mts +0 -3
- package/node_modules/typebox/build/value/shared/index.mjs +0 -4
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +0 -7
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -72
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +0 -3
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
- package/node_modules/typebox/build/value/value.d.mts +0 -15
- package/node_modules/typebox/build/value/value.mjs +0 -15
- package/node_modules/typebox/license +0 -23
- package/node_modules/typebox/package.json +0 -87
- package/node_modules/typebox/readme.md +0 -371
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* pi-proactive 常驻助理:**跨平台一键安装**(用户只跑这一条命令 → 看到「已常驻」)。
|
|
4
|
+
*
|
|
5
|
+
* 为什么有 .mjs 版:旧入口 `tools/daemon-install.sh` 是 **bash** → **Windows 用户装不了常驻助理**
|
|
6
|
+
* (见 `docs/project/windows-porting.md` §三①)。本文件是**同一条安装动作**的跨平台实现:
|
|
7
|
+
*
|
|
8
|
+
* · macOS → launchd(**复用 `daemon/launchd.plist` 模板**,模板本身不改)
|
|
9
|
+
* · Linux → systemd --user(**复用 `daemon/pi-proactive-daemon.service` 模板**)
|
|
10
|
+
* · Windows → **计划任务**(`schtasks /Create /SC MINUTE /MO n ... /F`)
|
|
11
|
+
*
|
|
12
|
+
* 三条平台硬约束(Windows 尤其):
|
|
13
|
+
* ① **短路径**:端点(unix socket)路径上限 100B → agent 根与工作目录必须短;
|
|
14
|
+
* ② **引号化**:Windows 路径常含空格(`C:\Program Files\nodejs\node.exe`)→ 逐个加引号;
|
|
15
|
+
* ③ **幂等**:重复安装**更新**同名任务,**不产生第二份任务/进程**(`/Query` 先探测 + `/F` 覆盖)。
|
|
16
|
+
*
|
|
17
|
+
* 验证三证据(**缺一即失败,不谎报成功**):
|
|
18
|
+
* ① 进程在 —— 心跳文件里的 pid 活着
|
|
19
|
+
* ② 心跳在更新 —— 两次读取的 ts 前进
|
|
20
|
+
* ③ 宿主已加载 —— launchctl print / systemctl is-active / schtasks /Query
|
|
21
|
+
*
|
|
22
|
+
* 成本硬约束:装上**不等于花钱** —— 配置默认 `enabled=false` + 干跑。
|
|
23
|
+
*
|
|
24
|
+
* 用法:
|
|
25
|
+
* node pi-proactive/tools/daemon-install.mjs
|
|
26
|
+
* node pi-proactive/tools/daemon-install.mjs --agent-dir <dir> # 指定 agent 根目录
|
|
27
|
+
* node pi-proactive/tools/daemon-install.mjs --agent-id <id> # 指定稳定身份
|
|
28
|
+
* node pi-proactive/tools/daemon-install.mjs --label <label> # launchd 单元标签
|
|
29
|
+
* node pi-proactive/tools/daemon-install.mjs --service-name <n> # systemd 单元名
|
|
30
|
+
* node pi-proactive/tools/daemon-install.mjs --task-name <n> # Windows 计划任务名
|
|
31
|
+
* node pi-proactive/tools/daemon-install.mjs --no-start # 只写配置,不启动
|
|
32
|
+
* node pi-proactive/tools/daemon-install.mjs --print-plan # 只打印计划(JSON),不落任何副作用
|
|
33
|
+
*
|
|
34
|
+
* 退出码:0=已常驻(验证通过);1=失败;2=环境不支持 / 用法错误。
|
|
35
|
+
*/
|
|
36
|
+
import fs from "node:fs";
|
|
37
|
+
import os from "node:os";
|
|
38
|
+
import path from "node:path";
|
|
39
|
+
import {
|
|
40
|
+
MAX_SOCKET_PATH_BYTES,
|
|
41
|
+
buildWindowsTaskCommand,
|
|
42
|
+
chooseShortAgentDir,
|
|
43
|
+
defaultAgentDir,
|
|
44
|
+
defaultAgentId,
|
|
45
|
+
detectPlatform,
|
|
46
|
+
isAlive,
|
|
47
|
+
pkgRootFrom,
|
|
48
|
+
quoteSystemd,
|
|
49
|
+
readJsonSafe,
|
|
50
|
+
renderLaunchdPlist,
|
|
51
|
+
renderSystemdUnit,
|
|
52
|
+
resolveDaemonEntry,
|
|
53
|
+
resolveSocketPath,
|
|
54
|
+
run,
|
|
55
|
+
} from "./daemon-common.mjs";
|
|
56
|
+
|
|
57
|
+
const PKG_ROOT = pkgRootFrom(import.meta.url);
|
|
58
|
+
|
|
59
|
+
const USAGE = `pi-proactive 常驻助理 · 跨平台安装器(macOS / Linux / Windows)
|
|
60
|
+
|
|
61
|
+
node pi-proactive/tools/daemon-install.mjs [选项]
|
|
62
|
+
|
|
63
|
+
--agent-dir <dir> agent 根目录(默认 ~/.pi/agent)
|
|
64
|
+
--agent-id <id> 稳定身份(默认 employee#<主机名>#pi-proactive-daemon)
|
|
65
|
+
--label <label> launchd 单元标签(默认 com.pi-proactive.daemon)
|
|
66
|
+
--service-name <n> systemd 单元名(默认 pi-proactive-daemon.service)
|
|
67
|
+
--task-name <n> Windows 计划任务名(默认 PiProactiveDaemon)
|
|
68
|
+
--minutes <n> Windows 计划任务周期(分钟,默认 1)
|
|
69
|
+
--no-start 只写配置,不启动
|
|
70
|
+
--print-plan 只打印安装计划(JSON),不产生任何副作用
|
|
71
|
+
-h, --help 本帮助
|
|
72
|
+
`;
|
|
73
|
+
|
|
74
|
+
/** 解析命令行。 */
|
|
75
|
+
function parseArgs(argv) {
|
|
76
|
+
const o = {
|
|
77
|
+
agentDir: defaultAgentDir(),
|
|
78
|
+
agentId: "",
|
|
79
|
+
label: process.env.PI_PROACTIVE_DAEMON_LABEL || "com.pi-proactive.daemon",
|
|
80
|
+
serviceName: process.env.PI_PROACTIVE_DAEMON_SERVICE || "pi-proactive-daemon.service",
|
|
81
|
+
taskName: process.env.PI_PROACTIVE_DAEMON_TASK || "PiProactiveDaemon",
|
|
82
|
+
minutes: 1,
|
|
83
|
+
noStart: false,
|
|
84
|
+
printPlan: false,
|
|
85
|
+
platform: "",
|
|
86
|
+
};
|
|
87
|
+
for (let i = 0; i < argv.length; i++) {
|
|
88
|
+
const a = argv[i];
|
|
89
|
+
const next = () => {
|
|
90
|
+
const v = argv[++i];
|
|
91
|
+
if (v === undefined) {
|
|
92
|
+
console.error(`参数 ${a} 缺值`);
|
|
93
|
+
process.exit(2);
|
|
94
|
+
}
|
|
95
|
+
return v;
|
|
96
|
+
};
|
|
97
|
+
if (a === "--agent-dir") o.agentDir = path.resolve(next());
|
|
98
|
+
else if (a === "--agent-id") o.agentId = next();
|
|
99
|
+
else if (a === "--label") o.label = next();
|
|
100
|
+
else if (a === "--service-name") o.serviceName = next();
|
|
101
|
+
else if (a === "--task-name") o.taskName = next();
|
|
102
|
+
else if (a === "--minutes") o.minutes = Math.max(1, Number(next()) || 1);
|
|
103
|
+
else if (a === "--no-start") o.noStart = true;
|
|
104
|
+
else if (a === "--print-plan") o.printPlan = true;
|
|
105
|
+
else if (a === "--platform") o.platform = next();
|
|
106
|
+
else if (a === "-h" || a === "--help") {
|
|
107
|
+
console.log(USAGE);
|
|
108
|
+
process.exit(0);
|
|
109
|
+
} else {
|
|
110
|
+
console.error(`未知参数:${a}`);
|
|
111
|
+
process.exit(2);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return o;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/** 值班配置(**不存在才写**;不覆盖用户已有配置)。 */
|
|
118
|
+
function daemonConfigJson(agentId) {
|
|
119
|
+
return `${JSON.stringify(
|
|
120
|
+
{
|
|
121
|
+
version: "v1",
|
|
122
|
+
enabled: false, // 装上不等于花钱
|
|
123
|
+
agentId,
|
|
124
|
+
dryRun: true,
|
|
125
|
+
budget: {
|
|
126
|
+
maxActionsPerHour: 6,
|
|
127
|
+
maxActionsPerDay: 40,
|
|
128
|
+
maxTokenUnitsPerDay: 200000,
|
|
129
|
+
maxLimitedActionsPerDay: 20,
|
|
130
|
+
degradeToObserveWhenExhausted: true,
|
|
131
|
+
},
|
|
132
|
+
permissions: { defaultTier: "limited" },
|
|
133
|
+
tickIntervalMs: 30000,
|
|
134
|
+
handoverHour: 8,
|
|
135
|
+
staleSocketMs: 3600000,
|
|
136
|
+
staleExecutionMs: 3600000,
|
|
137
|
+
contact: {
|
|
138
|
+
enabled: true,
|
|
139
|
+
target: "auto",
|
|
140
|
+
minIntervalMs: 3600000,
|
|
141
|
+
maxPerDay: 8,
|
|
142
|
+
deviceNotify: "fallback",
|
|
143
|
+
},
|
|
144
|
+
host: { hostKind: "auto" },
|
|
145
|
+
},
|
|
146
|
+
null,
|
|
147
|
+
2,
|
|
148
|
+
)}\n`;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* 生成安装计划(**纯计算**:不落任何副作用 → `--print-plan` 与真实安装同源)。
|
|
153
|
+
*/
|
|
154
|
+
function buildPlan(opts) {
|
|
155
|
+
const platform = detectPlatform(opts.platform);
|
|
156
|
+
const node = process.execPath;
|
|
157
|
+
const runner = path.join(PKG_ROOT, "daemon", "run-daemon.mjs");
|
|
158
|
+
const daemon = resolveDaemonEntry(PKG_ROOT);
|
|
159
|
+
if (!daemon) {
|
|
160
|
+
throw new Error("找不到常驻入口(试过 src/daemon.ts、build/src/daemon.js)");
|
|
161
|
+
}
|
|
162
|
+
const agentId = opts.agentId || defaultAgentId();
|
|
163
|
+
|
|
164
|
+
// ---- agent 根:Windows 必须**短**(端点路径 < 100B)----
|
|
165
|
+
let agentDir = opts.agentDir;
|
|
166
|
+
let socketInfo = resolveSocketPath(PKG_ROOT, agentId, agentDir);
|
|
167
|
+
if (platform === "win32") {
|
|
168
|
+
// 候选根(按优先级):用户指定 → 可覆盖的回退根 → %LOCALAPPDATA%\pp → C:\pp-agent
|
|
169
|
+
// (Windows 上 agent 根必须**短**:端点路径上限 100B;C:\ 根最短,但可能没有写权限)
|
|
170
|
+
const fallback =
|
|
171
|
+
process.env.PI_PROACTIVE_WINDOWS_FALLBACK_ROOT ||
|
|
172
|
+
path.join(os.homedir(), "AppData", "Local", "pp");
|
|
173
|
+
const candidates = [opts.agentDir, fallback, "C:\\pp-agent"];
|
|
174
|
+
const picked = chooseShortAgentDir(candidates, (d) => {
|
|
175
|
+
const s = resolveSocketPath(PKG_ROOT, agentId, d);
|
|
176
|
+
return s ? s.bytes : null;
|
|
177
|
+
});
|
|
178
|
+
if (!picked) {
|
|
179
|
+
throw new Error(
|
|
180
|
+
`找不到端点路径 < ${MAX_SOCKET_PATH_BYTES}B 的 agent 根(试过 ${candidates.join("、")})` +
|
|
181
|
+
"→ 请用 --agent-dir 指定一个更短的目录",
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
agentDir = picked.dir;
|
|
185
|
+
socketInfo = resolveSocketPath(PKG_ROOT, agentId, agentDir);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
const logDir = path.join(agentDir, "proactive", "daemon");
|
|
189
|
+
const daemonDir = path.join(agentDir, "proactive", "daemon");
|
|
190
|
+
const configFile = path.join(agentDir, "proactive", "daemon.json");
|
|
191
|
+
const hostStateFile = path.join(daemonDir, "host.json");
|
|
192
|
+
// Windows 的工作目录用**短** agent 根;unix 侧用包根(与旧行为一致)。
|
|
193
|
+
const workDir = platform === "win32" ? agentDir : PKG_ROOT;
|
|
194
|
+
|
|
195
|
+
const runnerArgs = [
|
|
196
|
+
"--agent-dir",
|
|
197
|
+
agentDir,
|
|
198
|
+
"--agent-id",
|
|
199
|
+
agentId,
|
|
200
|
+
"--entry",
|
|
201
|
+
daemon.entry,
|
|
202
|
+
"--log-dir",
|
|
203
|
+
logDir,
|
|
204
|
+
"--node",
|
|
205
|
+
node,
|
|
206
|
+
"--work-dir",
|
|
207
|
+
workDir,
|
|
208
|
+
];
|
|
209
|
+
|
|
210
|
+
const hostKind = platform === "win32" ? "schtasks" : platform === "darwin" ? "launchd" : "systemd";
|
|
211
|
+
const steps = [
|
|
212
|
+
{ kind: "mkdir", path: agentDir },
|
|
213
|
+
{ kind: "mkdir", path: daemonDir },
|
|
214
|
+
{ kind: "writeIfAbsent", path: configFile, content: daemonConfigJson(agentId) },
|
|
215
|
+
];
|
|
216
|
+
|
|
217
|
+
let unitPath = "";
|
|
218
|
+
if (platform === "darwin") {
|
|
219
|
+
unitPath = path.join(os.homedir(), "Library", "LaunchAgents", `${opts.label}.plist`);
|
|
220
|
+
const template = fs.readFileSync(path.join(PKG_ROOT, "daemon", "launchd.plist"), "utf8");
|
|
221
|
+
const content = renderLaunchdPlist(template, {
|
|
222
|
+
label: opts.label,
|
|
223
|
+
pkgRoot: PKG_ROOT,
|
|
224
|
+
agentId,
|
|
225
|
+
logDir,
|
|
226
|
+
runner,
|
|
227
|
+
programArgs: [node, runner, ...runnerArgs],
|
|
228
|
+
});
|
|
229
|
+
steps.push({ kind: "write", path: unitPath, content });
|
|
230
|
+
if (!opts.noStart) {
|
|
231
|
+
steps.push({
|
|
232
|
+
kind: "exec",
|
|
233
|
+
cmd: "launchctl",
|
|
234
|
+
args: ["bootout", `gui/${process.getuid?.() ?? 0}/${opts.label}`],
|
|
235
|
+
ignoreFail: true,
|
|
236
|
+
});
|
|
237
|
+
// bootout 是**异步**的:不等它真正从域里消失就 bootstrap,会出现
|
|
238
|
+
// 「bootstrap 返回 0,但随后被挂起的 bootout 摘掉」→ 单元根本没加载(重启即失效)。
|
|
239
|
+
steps.push({
|
|
240
|
+
kind: "waitGone",
|
|
241
|
+
cmd: "launchctl",
|
|
242
|
+
args: ["print", `gui/${process.getuid?.() ?? 0}/${opts.label}`],
|
|
243
|
+
timeoutMs: 10_000,
|
|
244
|
+
});
|
|
245
|
+
steps.push({
|
|
246
|
+
kind: "execFallback",
|
|
247
|
+
attempts: [
|
|
248
|
+
{ cmd: "launchctl", args: ["bootstrap", `gui/${process.getuid?.() ?? 0}`, unitPath] },
|
|
249
|
+
{ cmd: "launchctl", args: ["load", "-w", unitPath] },
|
|
250
|
+
{ cmd: "launchctl", args: ["bootstrap", `gui/${process.getuid?.() ?? 0}`, unitPath] },
|
|
251
|
+
],
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
} else if (platform === "linux") {
|
|
255
|
+
unitPath = path.join(os.homedir(), ".config", "systemd", "user", opts.serviceName);
|
|
256
|
+
const template = fs.readFileSync(path.join(PKG_ROOT, "daemon", "pi-proactive-daemon.service"), "utf8");
|
|
257
|
+
const execStart = [node, runner, ...runnerArgs].map(quoteSystemd).join(" ");
|
|
258
|
+
const content = renderSystemdUnit(template, {
|
|
259
|
+
pkgRoot: PKG_ROOT,
|
|
260
|
+
agentId,
|
|
261
|
+
workDir,
|
|
262
|
+
execStart,
|
|
263
|
+
});
|
|
264
|
+
steps.push({ kind: "write", path: unitPath, content });
|
|
265
|
+
if (!opts.noStart) {
|
|
266
|
+
steps.push({ kind: "exec", cmd: "systemctl", args: ["--user", "daemon-reload"] });
|
|
267
|
+
steps.push({ kind: "exec", cmd: "systemctl", args: ["--user", "enable", "--now", opts.serviceName] });
|
|
268
|
+
}
|
|
269
|
+
} else if (platform === "win32") {
|
|
270
|
+
unitPath = `计划任务:${opts.taskName}`;
|
|
271
|
+
const tr = buildWindowsTaskCommand({ node, runner, extraArgs: runnerArgs });
|
|
272
|
+
// 幂等:先探测同名任务是否已存在 → 存在就是**更新**(/F 覆盖),绝不建第二个。
|
|
273
|
+
steps.push({ kind: "exec", cmd: "schtasks", args: ["/Query", "/TN", opts.taskName], ignoreFail: true, probe: "exists" });
|
|
274
|
+
steps.push({
|
|
275
|
+
kind: "exec",
|
|
276
|
+
cmd: "schtasks",
|
|
277
|
+
args: [
|
|
278
|
+
"/Create",
|
|
279
|
+
"/TN",
|
|
280
|
+
opts.taskName,
|
|
281
|
+
"/TR",
|
|
282
|
+
tr,
|
|
283
|
+
"/SC",
|
|
284
|
+
"MINUTE",
|
|
285
|
+
"/MO",
|
|
286
|
+
String(opts.minutes),
|
|
287
|
+
"/F",
|
|
288
|
+
],
|
|
289
|
+
});
|
|
290
|
+
if (!opts.noStart) {
|
|
291
|
+
steps.push({ kind: "exec", cmd: "schtasks", args: ["/Run", "/TN", opts.taskName], ignoreFail: true });
|
|
292
|
+
}
|
|
293
|
+
steps.push({ kind: "exec", cmd: "schtasks", args: ["/Query", "/TN", opts.taskName] });
|
|
294
|
+
} else {
|
|
295
|
+
throw new Error(`不支持的操作系统:${process.platform}(本安装器支持 macOS / Linux / Windows)`);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
steps.push({
|
|
299
|
+
kind: "write",
|
|
300
|
+
path: hostStateFile,
|
|
301
|
+
content: `${JSON.stringify(
|
|
302
|
+
{
|
|
303
|
+
hostKind,
|
|
304
|
+
label: opts.taskName,
|
|
305
|
+
workspaceId: "",
|
|
306
|
+
paneId: "",
|
|
307
|
+
unitPath,
|
|
308
|
+
agentId,
|
|
309
|
+
installedAt: Date.now(),
|
|
310
|
+
},
|
|
311
|
+
null,
|
|
312
|
+
2,
|
|
313
|
+
)}\n`,
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
platform,
|
|
318
|
+
agentDir,
|
|
319
|
+
workDir,
|
|
320
|
+
pkgRoot: PKG_ROOT,
|
|
321
|
+
node,
|
|
322
|
+
runner,
|
|
323
|
+
daemonEntry: daemon.entry,
|
|
324
|
+
agentId,
|
|
325
|
+
label: opts.label,
|
|
326
|
+
serviceName: opts.serviceName,
|
|
327
|
+
taskName: opts.taskName,
|
|
328
|
+
minutes: opts.minutes,
|
|
329
|
+
hostKind,
|
|
330
|
+
unitPath,
|
|
331
|
+
logDir,
|
|
332
|
+
configFile,
|
|
333
|
+
hostStateFile,
|
|
334
|
+
socketPath: socketInfo?.path ?? "",
|
|
335
|
+
socketBytes: socketInfo?.bytes ?? -1,
|
|
336
|
+
noStart: opts.noStart,
|
|
337
|
+
steps,
|
|
338
|
+
};
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** 执行计划(每步都可判定失败 → 不谎报成功)。 */
|
|
342
|
+
async function executePlan(plan) {
|
|
343
|
+
for (const step of plan.steps) {
|
|
344
|
+
switch (step.kind) {
|
|
345
|
+
case "mkdir":
|
|
346
|
+
fs.mkdirSync(step.path, { recursive: true });
|
|
347
|
+
break;
|
|
348
|
+
case "write": {
|
|
349
|
+
fs.mkdirSync(path.dirname(step.path), { recursive: true });
|
|
350
|
+
fs.writeFileSync(step.path, step.content);
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
case "writeIfAbsent":
|
|
354
|
+
if (!fs.existsSync(step.path)) {
|
|
355
|
+
fs.mkdirSync(path.dirname(step.path), { recursive: true });
|
|
356
|
+
fs.writeFileSync(step.path, step.content);
|
|
357
|
+
console.log(`已写值班配置(enabled=false · 默认干跑):${step.path}`);
|
|
358
|
+
} else {
|
|
359
|
+
console.log(`值班配置已存在,保持不动:${step.path}`);
|
|
360
|
+
}
|
|
361
|
+
break;
|
|
362
|
+
case "exec": {
|
|
363
|
+
const r = run(step.cmd, step.args, { cwd: plan.workDir });
|
|
364
|
+
if (!r.ok && !step.ignoreFail) {
|
|
365
|
+
throw new Error(`${step.cmd} ${step.args.join(" ")} 失败:${r.stderr || r.stdout || r.error}`);
|
|
366
|
+
}
|
|
367
|
+
break;
|
|
368
|
+
}
|
|
369
|
+
case "waitGone": {
|
|
370
|
+
// 等到目标从宿主里消失(最多 timeoutMs)
|
|
371
|
+
const deadline = Date.now() + (step.timeoutMs ?? 10_000);
|
|
372
|
+
while (Date.now() < deadline) {
|
|
373
|
+
const r = run(step.cmd, step.args, { cwd: plan.workDir });
|
|
374
|
+
if (!r.ok) break;
|
|
375
|
+
await sleep(200);
|
|
376
|
+
}
|
|
377
|
+
break;
|
|
378
|
+
}
|
|
379
|
+
case "execFallback": {
|
|
380
|
+
const last = step.attempts[step.attempts.length - 1];
|
|
381
|
+
for (const attempt of step.attempts) {
|
|
382
|
+
const r = run(attempt.cmd, attempt.args, { cwd: plan.workDir });
|
|
383
|
+
if (r.ok) break;
|
|
384
|
+
if (attempt === last) {
|
|
385
|
+
throw new Error(`${last.cmd} ${last.args.join(" ")} 失败:${last.stderr || last.stdout || last.error}`);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
default:
|
|
391
|
+
throw new Error(`未知步骤:${step.kind}`);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/** 睡一会儿。 */
|
|
397
|
+
function sleep(ms) {
|
|
398
|
+
return new Promise((r) => setTimeout(r, ms));
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/** 验证三证据(进程在 + 心跳在更新 + 宿主已加载)。 */
|
|
402
|
+
async function verify(plan) {
|
|
403
|
+
const hbFile = path.join(plan.agentDir, "proactive", "daemon", "heartbeat.json");
|
|
404
|
+
let ts1 = 0;
|
|
405
|
+
let pid = 0;
|
|
406
|
+
// 等一个**活着的**值班进程写下的心跳(旧心跳可能来自刚被 bootout 杀掉的进程 → 不能算数)
|
|
407
|
+
for (let i = 0; i < 240; i++) {
|
|
408
|
+
const hb = readJsonSafe(hbFile);
|
|
409
|
+
if (hb && typeof hb.ts === "number" && isAlive(hb.pid)) {
|
|
410
|
+
ts1 = hb.ts;
|
|
411
|
+
pid = Number(hb.pid) || 0;
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
await sleep(500);
|
|
415
|
+
}
|
|
416
|
+
if (!ts1) {
|
|
417
|
+
const tail = (f) => {
|
|
418
|
+
try {
|
|
419
|
+
return fs.readFileSync(f, "utf8").split("\n").slice(-20).join("\n");
|
|
420
|
+
} catch {
|
|
421
|
+
return "";
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
throw new Error(
|
|
425
|
+
`验证失败:没有看到心跳文件(${hbFile})→ 助理没起来\n` +
|
|
426
|
+
`---- daemon.err.log(尾部)----\n${tail(path.join(plan.logDir, "daemon.err.log"))}\n` +
|
|
427
|
+
`---- daemon.out.log(尾部)----\n${tail(path.join(plan.logDir, "daemon.out.log"))}`,
|
|
428
|
+
);
|
|
429
|
+
}
|
|
430
|
+
if (!isAlive(pid)) throw new Error(`验证失败:心跳里的进程不在(pid=${pid || "?"})→ 助理没起来`);
|
|
431
|
+
|
|
432
|
+
let ts2 = ts1;
|
|
433
|
+
for (let i = 0; i < 60 && ts2 === ts1; i++) {
|
|
434
|
+
await sleep(500);
|
|
435
|
+
ts2 = Number(readJsonSafe(hbFile)?.ts ?? ts1);
|
|
436
|
+
}
|
|
437
|
+
if (ts2 === ts1) throw new Error(`验证失败:心跳没有更新(ts 一直是 ${ts1})→ 助理没在跑`);
|
|
438
|
+
|
|
439
|
+
// 宿主已加载
|
|
440
|
+
if (plan.platform === "darwin") {
|
|
441
|
+
const r = run("launchctl", ["print", `gui/${process.getuid?.() ?? 0}/${plan.label}`]);
|
|
442
|
+
if (!r.ok) throw new Error(`验证失败:LaunchAgent 没加载(${plan.unitPath})→ 助理没在跑`);
|
|
443
|
+
} else if (plan.platform === "linux") {
|
|
444
|
+
const r = run("systemctl", ["--user", "is-active", plan.serviceName]);
|
|
445
|
+
if (!r.ok) throw new Error(`验证失败:systemd 单元没在跑(${plan.unitPath})→ 助理没在跑`);
|
|
446
|
+
} else {
|
|
447
|
+
const r = run("schtasks", ["/Query", "/TN", plan.taskName]);
|
|
448
|
+
if (!r.ok) throw new Error(`验证失败:计划任务不存在(${plan.taskName})→ 助理没在跑`);
|
|
449
|
+
}
|
|
450
|
+
return { pid, ts1, ts2 };
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// ------------------------------------------------------------------ 入口 ----
|
|
454
|
+
|
|
455
|
+
const opts = parseArgs(process.argv.slice(2));
|
|
456
|
+
let plan;
|
|
457
|
+
try {
|
|
458
|
+
plan = buildPlan(opts);
|
|
459
|
+
} catch (e) {
|
|
460
|
+
console.error(String(e instanceof Error ? e.message : e));
|
|
461
|
+
process.exit(2);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
if (opts.printPlan) {
|
|
465
|
+
process.stdout.write(`${JSON.stringify(plan, null, 2)}\n`);
|
|
466
|
+
process.exit(0);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
try {
|
|
470
|
+
await executePlan(plan);
|
|
471
|
+
if (opts.noStart) {
|
|
472
|
+
console.log(`已写配置(--no-start · 未启动):${plan.unitPath}`);
|
|
473
|
+
process.exit(0);
|
|
474
|
+
}
|
|
475
|
+
const v = await verify(plan);
|
|
476
|
+
console.log("已常驻");
|
|
477
|
+
console.log(` · 宿主:${plan.hostKind}`);
|
|
478
|
+
console.log(` · 单元:${plan.unitPath}`);
|
|
479
|
+
console.log(` · 进程:pid=${v.pid} 在跑`);
|
|
480
|
+
console.log(` · 心跳:${path.join(plan.agentDir, "proactive", "daemon", "heartbeat.json")}(ts ${v.ts1} → ${v.ts2} 在前进)`);
|
|
481
|
+
console.log(` · 端点路径:${plan.socketPath}(${plan.socketBytes}B ≤ ${MAX_SOCKET_PATH_BYTES}B)`);
|
|
482
|
+
console.log(" · 想关掉:node pi-proactive/tools/daemon-uninstall.mjs");
|
|
483
|
+
console.log("提醒:默认 enabled=false + 干跑 → 装上不会花钱;要真跑请开开关与预算上限。");
|
|
484
|
+
process.exit(0);
|
|
485
|
+
} catch (e) {
|
|
486
|
+
console.error(String(e instanceof Error ? e.message : e));
|
|
487
|
+
process.exit(1);
|
|
488
|
+
}
|