pi-proactive 0.2.0-beta.3 → 0.2.0-beta.4
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/CHANGELOG.md +16 -0
- package/README.md +46 -29
- package/build/cli.mjs +70 -6
- package/build/extensions/proactive.js +185 -1
- package/build/src/assistant.js +572 -0
- package/build/src/commands.js +13 -0
- package/build/src/config.js +20 -0
- package/build/src/content.js +2 -0
- package/build/src/daemon-host.js +2 -0
- package/build/src/daemon.js +2 -0
- package/build/src/dedupe.js +2 -0
- package/build/src/health.js +2 -0
- package/build/src/lineage.js +2 -0
- package/build/src/mailbox.js +2 -0
- package/build/src/notify.js +2 -0
- package/build/src/peer-spawn.js +2 -0
- package/build/src/peer.js +2 -0
- package/build/src/registry.js +2 -0
- package/build/src/socket.js +2 -0
- package/build/src/supervisor-state.js +355 -0
- package/build/src/supervisor-tui.js +85 -0
- package/build/src/supervisor-web.js +262 -0
- package/build/src/task-store.js +2 -0
- package/build/src/thread.js +2 -0
- package/package.json +3 -8
- package/skills/pi-proactive/SKILL.md +29 -27
- package/tools/cli.mjs +70 -6
- 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
package/build/src/mailbox.js
CHANGED
package/build/src/notify.js
CHANGED
package/build/src/peer-spawn.js
CHANGED
package/build/src/peer.js
CHANGED
package/build/src/registry.js
CHANGED
package/build/src/socket.js
CHANGED
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 监督面的**状态聚合**(双面同源的单一真源)。
|
|
3
|
+
*
|
|
4
|
+
* 为什么要单独一个模块:Web 看板与 pi-agent 的 TUI 面板是**两个渲染层**,
|
|
5
|
+
* 若各算各的 → 两处数字必然漂移(这是本仓库反复踩到的坑)。
|
|
6
|
+
* ⇒ 本模块**只读**既有事实面,算出**一次**,两个渲染层各自呈现、**不重算**。
|
|
7
|
+
*
|
|
8
|
+
* 只读的事实面(**不新造数据结构、不新增协议**):
|
|
9
|
+
* - 事件流(血缘)`<agentDir>/proactive/lineage/*.jsonl` → 联系时间线 + 四段计数;
|
|
10
|
+
* - 心跳 `<agentDir>/proactive/daemon/heartbeat.json` → 在不在 / 宿主 / 进程 / 心跳龄期;
|
|
11
|
+
* - 值班状态 `<agentDir>/proactive/daemon/state.json` → 预算已用 + 人工确认队列;
|
|
12
|
+
* - 配置 `<agentDir>/proactive/daemon.json` → 预算硬上限;
|
|
13
|
+
* - 托付登记册 `<agentDir>/proactive/trust/registry.json` → 托付 / 目标。
|
|
14
|
+
*
|
|
15
|
+
* 口径说明:
|
|
16
|
+
* - 四段计数 = **按事件类型计数**(triggered / delivered / answered / outcome),
|
|
17
|
+
* 与 `scripts/team/progress-snapshot.sh` 的守恒等式**同一口径**(第三方可独立复算);
|
|
18
|
+
* - 托付四段(登记/到达/知会/结账)直接复用 `src/trust-metrics.ts` 的守恒判定,**不另写一套**;
|
|
19
|
+
* - **脱敏默认**:会话正文只给长度与摘要(sha256 前 12 位);提示词原文、队列原始提示一律不进结果。
|
|
20
|
+
*
|
|
21
|
+
* **只读**:本模块不写任何文件(坏文件只跳过、不修复、不备份)。
|
|
22
|
+
*/
|
|
23
|
+
import fs from "node:fs";
|
|
24
|
+
import path from "node:path";
|
|
25
|
+
import { proactiveDir, resolveAgentDir } from "./config.js";
|
|
26
|
+
import { daemonConfigPath, daemonStatePath, heartbeatPath, loadDaemonConfig } from "./daemon-config.js";
|
|
27
|
+
import { formatAgo, readAssistantStatus } from "./assistant.js";
|
|
28
|
+
import { computeTrustMetrics, readLineageEvents } from "./trust-metrics.js";
|
|
29
|
+
import { TrustRegistry } from "./trust-registry.js";
|
|
30
|
+
/** 读 JSON(坏文件 / 不存在 / 不是对象 → undefined,绝不抛、绝不写)。 */
|
|
31
|
+
function readJsonSafe(file) {
|
|
32
|
+
try {
|
|
33
|
+
const parsed = JSON.parse(fs.readFileSync(file, "utf8"));
|
|
34
|
+
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed))
|
|
35
|
+
return undefined;
|
|
36
|
+
return parsed;
|
|
37
|
+
}
|
|
38
|
+
catch {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function num(v, fallback) {
|
|
43
|
+
return typeof v === "number" && Number.isFinite(v) ? v : fallback;
|
|
44
|
+
}
|
|
45
|
+
function str(v) {
|
|
46
|
+
return typeof v === "string" && v !== "" ? v : undefined;
|
|
47
|
+
}
|
|
48
|
+
/** 一条事件的人话摘要(**只描述事件事实,不含正文**)。 */
|
|
49
|
+
function describeEvent(e) {
|
|
50
|
+
switch (e.type) {
|
|
51
|
+
case "triggered":
|
|
52
|
+
return `触发(${e.cause})`;
|
|
53
|
+
case "delivered":
|
|
54
|
+
return `投递 → ${e.result ?? "(无结果)"}`;
|
|
55
|
+
case "answered":
|
|
56
|
+
return `回应(${e.responder ?? "未知"})`;
|
|
57
|
+
case "outcome":
|
|
58
|
+
return `结账 → ${e.result ?? "(无结果)"}`;
|
|
59
|
+
case "dropped":
|
|
60
|
+
return `拦下(${e.reason ?? "未注明"})`;
|
|
61
|
+
case "decision":
|
|
62
|
+
return `决策 → ${e.decision?.decision ?? "(无)"}(${e.decision?.reason ?? "未注明"})`;
|
|
63
|
+
case "trust":
|
|
64
|
+
return `托付 · ${e.trust?.stage ?? "(无阶段)"}`;
|
|
65
|
+
default:
|
|
66
|
+
return e.type;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/** 时间线一条(脱敏)。 */
|
|
70
|
+
function toTimelineEntry(e) {
|
|
71
|
+
const entry = {
|
|
72
|
+
ts: e.ts,
|
|
73
|
+
type: e.type,
|
|
74
|
+
cause: e.cause,
|
|
75
|
+
summary: describeEvent(e),
|
|
76
|
+
};
|
|
77
|
+
if (e.bodyLen !== undefined)
|
|
78
|
+
entry.bodyLen = e.bodyLen;
|
|
79
|
+
if (e.bodyDigest !== undefined)
|
|
80
|
+
entry.bodyDigest = e.bodyDigest;
|
|
81
|
+
if (e.peer !== undefined)
|
|
82
|
+
entry.peer = e.peer;
|
|
83
|
+
const detail = e.result ?? e.reason;
|
|
84
|
+
if (detail !== undefined)
|
|
85
|
+
entry.detail = detail;
|
|
86
|
+
return entry;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* 采集监督面状态(**只读**)。
|
|
90
|
+
*
|
|
91
|
+
* @param opts 见 {@link SupervisorOptions}。
|
|
92
|
+
*/
|
|
93
|
+
export function collectSupervisorState(opts = {}) {
|
|
94
|
+
const agentDir = opts.agentDir ?? resolveAgentDir();
|
|
95
|
+
const now = opts.now ?? Date.now();
|
|
96
|
+
const agentId = opts.agentId ?? "supervisor";
|
|
97
|
+
const limit = opts.timelineLimit ?? 50;
|
|
98
|
+
// ---- 事件流(血缘):时间线 + 四段计数 + 托付四段 ----
|
|
99
|
+
const lineageDir = path.join(proactiveDir(agentDir), "lineage");
|
|
100
|
+
const events = readLineageEvents(lineageDir);
|
|
101
|
+
const sorted = [...events].sort((a, b) => a.ts - b.ts);
|
|
102
|
+
let triggered = 0;
|
|
103
|
+
let delivered = 0;
|
|
104
|
+
let answered = 0;
|
|
105
|
+
let outcome = 0;
|
|
106
|
+
for (const e of sorted) {
|
|
107
|
+
if (e.type === "triggered")
|
|
108
|
+
triggered += 1;
|
|
109
|
+
else if (e.type === "delivered")
|
|
110
|
+
delivered += 1;
|
|
111
|
+
else if (e.type === "answered")
|
|
112
|
+
answered += 1;
|
|
113
|
+
else if (e.type === "outcome")
|
|
114
|
+
outcome += 1;
|
|
115
|
+
}
|
|
116
|
+
const metrics = computeTrustMetrics(sorted);
|
|
117
|
+
const timeline = sorted.slice(Math.max(0, sorted.length - limit)).map(toTimelineEntry);
|
|
118
|
+
// ---- 状态卡(心跳 / 上次联系):复用既有读法,不另写一套 ----
|
|
119
|
+
const assistant = readAssistantStatus(agentDir, now);
|
|
120
|
+
const hb = readJsonSafe(heartbeatPath(agentDir));
|
|
121
|
+
const status = {
|
|
122
|
+
present: assistant.present,
|
|
123
|
+
running: assistant.installed,
|
|
124
|
+
pidAlive: assistant.pidAlive,
|
|
125
|
+
};
|
|
126
|
+
if (assistant.notRunningReason !== undefined)
|
|
127
|
+
status.notRunningReason = assistant.notRunningReason;
|
|
128
|
+
if (assistant.heartbeatTs !== undefined)
|
|
129
|
+
status.heartbeatTs = assistant.heartbeatTs;
|
|
130
|
+
if (assistant.heartbeatAgeMs !== undefined)
|
|
131
|
+
status.heartbeatAgeMs = assistant.heartbeatAgeMs;
|
|
132
|
+
if (assistant.lastContactTs !== undefined) {
|
|
133
|
+
status.lastContactTs = assistant.lastContactTs;
|
|
134
|
+
status.lastContactAgeMs = Math.max(0, now - assistant.lastContactTs);
|
|
135
|
+
}
|
|
136
|
+
if (hb !== undefined) {
|
|
137
|
+
const host = str(hb.host);
|
|
138
|
+
if (host !== undefined)
|
|
139
|
+
status.host = host;
|
|
140
|
+
const pid = hb.pid;
|
|
141
|
+
if (typeof pid === "number" && Number.isFinite(pid))
|
|
142
|
+
status.pid = pid;
|
|
143
|
+
const hbAgent = str(hb.agentId);
|
|
144
|
+
if (hbAgent !== undefined)
|
|
145
|
+
status.agentId = hbAgent;
|
|
146
|
+
const runMode = str(hb.runMode);
|
|
147
|
+
if (runMode !== undefined)
|
|
148
|
+
status.runMode = runMode;
|
|
149
|
+
if (typeof hb.enabled === "boolean")
|
|
150
|
+
status.enabled = hb.enabled;
|
|
151
|
+
if (typeof hb.contactEnabled === "boolean")
|
|
152
|
+
status.contactEnabled = hb.contactEnabled;
|
|
153
|
+
}
|
|
154
|
+
// ---- 预算(上限来自配置,已用来自值班状态)----
|
|
155
|
+
const configured = fs.existsSync(daemonConfigPath(agentDir));
|
|
156
|
+
const daemonConfig = loadDaemonConfig(agentDir, agentId).config;
|
|
157
|
+
const limits = daemonConfig.budget;
|
|
158
|
+
const rawState = readJsonSafe(daemonStatePath(agentDir));
|
|
159
|
+
const used = rawState?.budget ?? {};
|
|
160
|
+
const hourCount = num(used.hourCount, 0);
|
|
161
|
+
const dayCount = num(used.dayCount, 0);
|
|
162
|
+
const limitedDayCount = num(used.limitedDayCount, 0);
|
|
163
|
+
const tokenUnits = num(used.tokenUnits, 0);
|
|
164
|
+
const budget = {
|
|
165
|
+
configured,
|
|
166
|
+
hourCount,
|
|
167
|
+
maxActionsPerHour: limits.maxActionsPerHour,
|
|
168
|
+
hourRemaining: Math.max(0, limits.maxActionsPerHour - hourCount),
|
|
169
|
+
dayCount,
|
|
170
|
+
maxActionsPerDay: limits.maxActionsPerDay,
|
|
171
|
+
dayRemaining: Math.max(0, limits.maxActionsPerDay - dayCount),
|
|
172
|
+
limitedDayCount,
|
|
173
|
+
maxLimitedActionsPerDay: limits.maxLimitedActionsPerDay,
|
|
174
|
+
limitedDayRemaining: Math.max(0, limits.maxLimitedActionsPerDay - limitedDayCount),
|
|
175
|
+
tokenUnits,
|
|
176
|
+
maxTokenUnitsPerDay: limits.maxTokenUnitsPerDay,
|
|
177
|
+
tokenRemaining: Math.max(0, limits.maxTokenUnitsPerDay - tokenUnits),
|
|
178
|
+
exhausted: false,
|
|
179
|
+
degradeToObserve: limits.degradeToObserveWhenExhausted,
|
|
180
|
+
};
|
|
181
|
+
if (hourCount >= limits.maxActionsPerHour) {
|
|
182
|
+
budget.exhausted = true;
|
|
183
|
+
budget.reason = `每小时动作上限已满(${hourCount}/${limits.maxActionsPerHour})`;
|
|
184
|
+
}
|
|
185
|
+
else if (dayCount >= limits.maxActionsPerDay) {
|
|
186
|
+
budget.exhausted = true;
|
|
187
|
+
budget.reason = `每日动作上限已满(${dayCount}/${limits.maxActionsPerDay})`;
|
|
188
|
+
}
|
|
189
|
+
else if (tokenUnits >= limits.maxTokenUnitsPerDay) {
|
|
190
|
+
budget.exhausted = true;
|
|
191
|
+
budget.reason = `每日 token 估算上限已满(${tokenUnits}/${limits.maxTokenUnitsPerDay},估算口径非实测)`;
|
|
192
|
+
}
|
|
193
|
+
// ---- 托付登记册(坏文件 → 空册,绝不抛)----
|
|
194
|
+
let goals = [];
|
|
195
|
+
let entrustments = [];
|
|
196
|
+
try {
|
|
197
|
+
const registry = new TrustRegistry({ agentDir, agentId });
|
|
198
|
+
goals = registry.listGoals();
|
|
199
|
+
entrustments = registry.listEntrustments();
|
|
200
|
+
}
|
|
201
|
+
catch {
|
|
202
|
+
// 坏登记册 → 当作空册(只读面不做任何修复写)
|
|
203
|
+
}
|
|
204
|
+
const trusts = entrustments.map((e) => {
|
|
205
|
+
const entry = { id: e.id, target: e.target, status: e.status, createdAt: e.createdAt };
|
|
206
|
+
if (e.goalId !== undefined)
|
|
207
|
+
entry.goalId = e.goalId;
|
|
208
|
+
if (e.arrivedAt !== undefined)
|
|
209
|
+
entry.arrivedAt = e.arrivedAt;
|
|
210
|
+
if (e.notifiedAt !== undefined)
|
|
211
|
+
entry.notifiedAt = e.notifiedAt;
|
|
212
|
+
if (e.settledAt !== undefined)
|
|
213
|
+
entry.settledAt = e.settledAt;
|
|
214
|
+
if (e.revokedAt !== undefined)
|
|
215
|
+
entry.revokedAt = e.revokedAt;
|
|
216
|
+
if (e.needsHuman === true)
|
|
217
|
+
entry.needsHuman = true;
|
|
218
|
+
if (e.humanReason !== undefined)
|
|
219
|
+
entry.humanReason = e.humanReason;
|
|
220
|
+
return entry;
|
|
221
|
+
});
|
|
222
|
+
const goalEntries = goals.map((g) => {
|
|
223
|
+
const entry = {
|
|
224
|
+
id: g.id,
|
|
225
|
+
title: g.title,
|
|
226
|
+
status: g.status,
|
|
227
|
+
progressSteps: g.progressSteps,
|
|
228
|
+
maxActions: g.budget?.maxActions ?? 0,
|
|
229
|
+
usedActions: g.budget?.usedActions ?? 0,
|
|
230
|
+
permission: g.permission,
|
|
231
|
+
updatedAt: g.updatedAt,
|
|
232
|
+
};
|
|
233
|
+
if (g.humanReason !== undefined)
|
|
234
|
+
entry.humanReason = g.humanReason;
|
|
235
|
+
return entry;
|
|
236
|
+
});
|
|
237
|
+
// ---- 阻塞(等人决策 / 预算闸门 / 动作失败)----
|
|
238
|
+
const blockers = [];
|
|
239
|
+
for (const g of goalEntries) {
|
|
240
|
+
if (g.status === "needs-human") {
|
|
241
|
+
blockers.push({
|
|
242
|
+
id: `goal:${g.id}`,
|
|
243
|
+
category: "human-decision",
|
|
244
|
+
title: `目标等人工决策:${g.title}`,
|
|
245
|
+
...(g.humanReason !== undefined ? { detail: g.humanReason } : {}),
|
|
246
|
+
since: g.updatedAt,
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
for (const t of trusts) {
|
|
251
|
+
if (t.needsHuman === true) {
|
|
252
|
+
blockers.push({
|
|
253
|
+
id: `entrustment:${t.id}`,
|
|
254
|
+
category: "human-decision",
|
|
255
|
+
title: `托付等人工决策:${t.target}`,
|
|
256
|
+
...(t.humanReason !== undefined ? { detail: t.humanReason } : {}),
|
|
257
|
+
since: t.createdAt,
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
for (const q of rawState?.queue ?? []) {
|
|
262
|
+
const title = str(q.title) ?? "(未命名动作)";
|
|
263
|
+
const reason = str(q.reason);
|
|
264
|
+
blockers.push({
|
|
265
|
+
id: `queue:${str(q.id) ?? String(q.ts ?? 0)}`,
|
|
266
|
+
category: "human-decision",
|
|
267
|
+
title: `待人工确认:${title}`,
|
|
268
|
+
...(reason !== undefined ? { detail: reason } : {}),
|
|
269
|
+
...(typeof q.ts === "number" ? { since: q.ts } : {}),
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
if (budget.exhausted) {
|
|
273
|
+
blockers.push({
|
|
274
|
+
id: "budget:exhausted",
|
|
275
|
+
category: "budget",
|
|
276
|
+
title: budget.reason ?? "预算已耗尽",
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
for (const a of rawState?.actions ?? []) {
|
|
280
|
+
if (a.outcome !== "failed")
|
|
281
|
+
continue;
|
|
282
|
+
const title = str(a.title) ?? "(未命名动作)";
|
|
283
|
+
const reason = str(a.reason);
|
|
284
|
+
blockers.push({
|
|
285
|
+
id: `action:${String(a.ts ?? 0)}`,
|
|
286
|
+
category: "action-failed",
|
|
287
|
+
title: `动作失败:${title}`,
|
|
288
|
+
...(reason !== undefined ? { detail: reason } : {}),
|
|
289
|
+
...(typeof a.ts === "number" ? { since: a.ts } : {}),
|
|
290
|
+
});
|
|
291
|
+
}
|
|
292
|
+
const conservation = {
|
|
293
|
+
triggered,
|
|
294
|
+
delivered,
|
|
295
|
+
answered,
|
|
296
|
+
outcome,
|
|
297
|
+
equal: triggered === delivered && delivered === answered && answered === outcome,
|
|
298
|
+
entrustmentRegistered: metrics.conservation.registered,
|
|
299
|
+
entrustmentArrived: metrics.conservation.arrived,
|
|
300
|
+
entrustmentNotified: metrics.conservation.notified,
|
|
301
|
+
entrustmentSettled: metrics.conservation.settled,
|
|
302
|
+
entrustmentRevoked: metrics.conservation.revoked,
|
|
303
|
+
entrustmentInFlight: metrics.conservation.inFlight,
|
|
304
|
+
entrustmentBalanced: metrics.conservation.balanced,
|
|
305
|
+
entrustmentViolations: metrics.conservation.violations,
|
|
306
|
+
responseRate: metrics.responseRate.value,
|
|
307
|
+
closureRate: metrics.entrustmentClosureRate.value,
|
|
308
|
+
watchDurationMs: metrics.watchDuration.averageMs,
|
|
309
|
+
};
|
|
310
|
+
return {
|
|
311
|
+
generatedAt: now,
|
|
312
|
+
agentDir,
|
|
313
|
+
status,
|
|
314
|
+
timeline,
|
|
315
|
+
trusts,
|
|
316
|
+
goals: goalEntries,
|
|
317
|
+
budget,
|
|
318
|
+
blockers,
|
|
319
|
+
conservation,
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
// ---------------------------------------------------------------- 共享口径文本
|
|
323
|
+
//
|
|
324
|
+
// 为什么文本也放在这里:两个渲染面(Web 看板 / TUI 面板)显示的**同一组数字**
|
|
325
|
+
// 必须**逐字一致**(验收 A8)→ 文本构造与聚合放在同一处,两边只是摆放。
|
|
326
|
+
// (若各写各的字符串,迟早漂移 —— 这正是本仓库反复踩到的坑。)
|
|
327
|
+
/** 「助理在不在」的一行摘要(**状态栏一行**:在不在 · 上次联系 · 预算余量)。 */
|
|
328
|
+
export function formatSupervisorSummary(state) {
|
|
329
|
+
const where = state.status.running ? "在" : state.status.present ? "不在(装过但没在跑)" : "不在";
|
|
330
|
+
const contact = state.status.lastContactAgeMs === undefined ? "从未联系" : `${formatAgo(state.status.lastContactAgeMs)}`;
|
|
331
|
+
return `助理 ${where} · 上次联系 ${contact} · 预算余量 每日 ${state.budget.dayRemaining}/${state.budget.maxActionsPerDay}(小时 ${state.budget.hourRemaining}/${state.budget.maxActionsPerHour})`;
|
|
332
|
+
}
|
|
333
|
+
/** 四段守恒等式的一行(`triggered=… delivered=… answered=… outcome=…`)。 */
|
|
334
|
+
export function formatConservationLine(state) {
|
|
335
|
+
const c = state.conservation;
|
|
336
|
+
return `triggered=${c.triggered} delivered=${c.delivered} answered=${c.answered} outcome=${c.outcome} → ${c.equal ? "相等(无悬空)" : "有悬空"}`;
|
|
337
|
+
}
|
|
338
|
+
/** 托付四段守恒等式的一行。 */
|
|
339
|
+
export function formatEntrustmentConservationLine(state) {
|
|
340
|
+
const c = state.conservation;
|
|
341
|
+
return `登记=${c.entrustmentRegistered} 到达=${c.entrustmentArrived} 知会=${c.entrustmentNotified} 结账=${c.entrustmentSettled} 撤销=${c.entrustmentRevoked} 在途=${c.entrustmentInFlight} → ${c.entrustmentBalanced ? "守恒" : "有悬空"}`;
|
|
342
|
+
}
|
|
343
|
+
/** 预算的一行(三档余量)。 */
|
|
344
|
+
export function formatBudgetLine(state) {
|
|
345
|
+
const b = state.budget;
|
|
346
|
+
return `小时 ${b.hourCount}/${b.maxActionsPerHour}(余 ${b.hourRemaining})· 每日 ${b.dayCount}/${b.maxActionsPerDay}(余 ${b.dayRemaining})· token ${b.tokenUnits}/${b.maxTokenUnitsPerDay}(余 ${b.tokenRemaining})`;
|
|
347
|
+
}
|
|
348
|
+
/** 状态卡的一行(宿主 / 进程 / 心跳龄期)。 */
|
|
349
|
+
export function formatStatusLine(state) {
|
|
350
|
+
const s = state.status;
|
|
351
|
+
const host = s.host ?? "未知";
|
|
352
|
+
const pid = s.pid === undefined ? "无" : String(s.pid);
|
|
353
|
+
const age = s.heartbeatAgeMs === undefined ? "无心跳" : formatAgo(s.heartbeatAgeMs);
|
|
354
|
+
return `宿主 ${host} · 进程 ${pid}(${s.pidAlive ? "活" : "不在"})· 心跳 ${age}`;
|
|
355
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TUI 监督面(**只读渲染层**):状态栏摘要 + 可展开面板。
|
|
3
|
+
*
|
|
4
|
+
* 与 Web 面**同源**:两个渲染层都消费 `src/supervisor-state.ts` 的**同一份聚合**,
|
|
5
|
+
* 且关键数字的**文本构造**也在那个模块里(`formatConservationLine` 等)→
|
|
6
|
+
* 两处的数字**逐字一致**(验收 A8),不是"各算各的、碰巧一样"。
|
|
7
|
+
*
|
|
8
|
+
* 本模块**纯文本**、不依赖宿主 API(无 ANSI、无终端宽度库):
|
|
9
|
+
* 着色由扩展层用宿主的 theme 加,宽度裁剪由扩展层做 → 本模块可被纯 Node 测试直接断言。
|
|
10
|
+
*/
|
|
11
|
+
import { formatBudgetLine, formatConservationLine, formatEntrustmentConservationLine, formatStatusLine, formatSupervisorSummary, } from "./supervisor-state.js";
|
|
12
|
+
/** 毫秒 → `MM-DD HH:mm:ss`(本地时区)。 */
|
|
13
|
+
function fmtTime(ts) {
|
|
14
|
+
const d = new Date(ts);
|
|
15
|
+
const p = (n) => String(n).padStart(2, "0");
|
|
16
|
+
return `${p(d.getMonth() + 1)}-${p(d.getDate())} ${p(d.getHours())}:${p(d.getMinutes())}:${p(d.getSeconds())}`;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 渲染监督面板的行(**只读**:没有任何可点的操作)。
|
|
20
|
+
*
|
|
21
|
+
* @param state 同一份聚合状态(Web 面用的是同一个对象来源)。
|
|
22
|
+
* @param opts 显示条数上限。
|
|
23
|
+
*/
|
|
24
|
+
export function formatSupervisorPanel(state, opts = {}) {
|
|
25
|
+
const timelineLimit = opts.timelineLimit ?? 10;
|
|
26
|
+
const trustLimit = opts.trustLimit ?? 10;
|
|
27
|
+
const blockerLimit = opts.blockerLimit ?? 10;
|
|
28
|
+
const lines = [];
|
|
29
|
+
lines.push("监督面(只读 · 改配置请回 Pi 会话)");
|
|
30
|
+
lines.push(`状态 ${formatSupervisorSummary(state)}`);
|
|
31
|
+
lines.push(` ${formatStatusLine(state)}`);
|
|
32
|
+
const timeline = state.timeline.slice(Math.max(0, state.timeline.length - timelineLimit)).reverse();
|
|
33
|
+
lines.push(`时间线(最近 ${timeline.length} 条 · 会话正文只给长度/摘要)`);
|
|
34
|
+
if (timeline.length === 0) {
|
|
35
|
+
lines.push(" 暂无记录");
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
for (const t of timeline) {
|
|
39
|
+
const len = t.bodyLen === undefined ? "" : ` · 正文 ${t.bodyLen} 字`;
|
|
40
|
+
const digest = t.bodyDigest === undefined ? "" : ` · 摘要 ${t.bodyDigest}`;
|
|
41
|
+
const peer = t.peer === undefined ? "" : ` · 对端 ${t.peer}`;
|
|
42
|
+
lines.push(` ${fmtTime(t.ts)} ${t.summary}${len}${digest}${peer}`);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
lines.push(`托付(${state.trusts.length})`);
|
|
46
|
+
if (state.trusts.length === 0) {
|
|
47
|
+
lines.push(" 暂无托付");
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
for (const t of state.trusts.slice(0, trustLimit)) {
|
|
51
|
+
const human = t.needsHuman ? " · 需人决策" : "";
|
|
52
|
+
const reason = t.humanReason === undefined ? "" : ` · ${t.humanReason}`;
|
|
53
|
+
lines.push(` ${t.target} · ${t.status}${human}${reason}`);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (state.goals.length > 0) {
|
|
57
|
+
lines.push(`目标(${state.goals.length})`);
|
|
58
|
+
for (const g of state.goals.slice(0, trustLimit)) {
|
|
59
|
+
const reason = g.humanReason === undefined ? "" : ` · ${g.humanReason}`;
|
|
60
|
+
lines.push(` ${g.title} · ${g.status} · 推进 ${g.progressSteps} 步 · 行动 ${g.usedActions}/${g.maxActions}${reason}`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
lines.push(`阻塞(${state.blockers.length})`);
|
|
64
|
+
if (state.blockers.length === 0) {
|
|
65
|
+
lines.push(" 无阻塞");
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
for (const b of state.blockers.slice(0, blockerLimit)) {
|
|
69
|
+
const detail = b.detail === undefined ? "" : ` · ${b.detail}`;
|
|
70
|
+
lines.push(` ${b.title}${detail}`);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
lines.push(`预算 ${formatBudgetLine(state)}`);
|
|
74
|
+
lines.push(`守恒 ${formatConservationLine(state)}`);
|
|
75
|
+
lines.push(` ${formatEntrustmentConservationLine(state)}`);
|
|
76
|
+
return lines;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* 非交互模式(json / print / rpc 无 TUI)下的**纯文本**呈现。
|
|
80
|
+
*
|
|
81
|
+
* 与面板**逐字同源**(同一份聚合 + 同一批文本构造)→ 监督信息不依赖 TUI 能力(验收 A10)。
|
|
82
|
+
*/
|
|
83
|
+
export function formatSupervisorText(state, opts = {}) {
|
|
84
|
+
return formatSupervisorPanel(state, opts).join("\n");
|
|
85
|
+
}
|