pi-proactive 0.0.0-stage → 0.2.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +119 -0
- package/LICENSE +54 -0
- package/README.md +705 -2
- package/build/extensions/proactive.js +2467 -0
- package/build/src/activity.js +130 -0
- package/build/src/commands.js +496 -0
- package/build/src/config.js +483 -0
- package/build/src/content.js +198 -0
- package/build/src/daemon-config.js +488 -0
- package/build/src/daemon.js +702 -0
- package/build/src/dedupe.js +187 -0
- package/build/src/envelope.js +283 -0
- package/build/src/guard.js +74 -0
- package/build/src/health.js +734 -0
- package/build/src/idle.js +388 -0
- package/build/src/lineage.js +426 -0
- package/build/src/mailbox.js +984 -0
- package/build/src/outbox.js +26 -0
- package/build/src/peer-spawn.js +383 -0
- package/build/src/peer.js +1002 -0
- package/build/src/registry.js +583 -0
- package/build/src/scheduler.js +301 -0
- package/build/src/socket.js +496 -0
- package/build/src/task-store.js +438 -0
- package/build/src/thread.js +196 -0
- package/build/src/trigger.js +458 -0
- package/build/src/types.js +1 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +64 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +35 -0
- package/node_modules/typebox/build/compile/validator.mjs +95 -0
- package/node_modules/typebox/build/error/errors.d.mts +208 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +7 -0
- package/node_modules/typebox/build/format/date_time.mjs +20 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +10 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +6 -0
- package/node_modules/typebox/build/format/idn_email.mjs +9 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +8 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +11 -0
- package/node_modules/typebox/build/format/idna/format/bidi.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
- package/node_modules/typebox/build/format/idna/format/puny.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
- package/node_modules/typebox/build/format/idna/hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +43 -0
- package/node_modules/typebox/build/format/idna/index.d.mts +2 -0
- package/node_modules/typebox/build/format/idna/index.mjs +2 -0
- package/node_modules/typebox/build/format/idna/label/ascii.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
- package/node_modules/typebox/build/format/idna/label/puny.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
- package/node_modules/typebox/build/format/idna/label/unicode.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +30 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv4.mjs +8 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +8 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +42 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +14 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +5 -0
- package/node_modules/typebox/build/format/regex.mjs +13 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +32 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +8 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +8 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_template.mjs +9 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +8 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +56 -0
- package/node_modules/typebox/build/guard/emit.mjs +191 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +73 -0
- package/node_modules/typebox/build/guard/guard.mjs +226 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +12 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
- package/node_modules/typebox/build/guard/unicode/unicode_segment.d.mts +6 -0
- package/node_modules/typebox/build/guard/unicode/unicode_segment.mjs +165 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +23 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +34 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +137 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +65 -0
- package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
- package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +34 -0
- package/node_modules/typebox/build/schema/engine/_regexp.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +36 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +150 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +9 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +60 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +118 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +43 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +36 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +91 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +21 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +54 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +76 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +34 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +56 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +360 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +66 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +47 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +18 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/intern/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/intern/index.mjs +1 -0
- package/node_modules/typebox/build/schema/intern/intern.d.mts +11 -0
- package/node_modules/typebox/build/schema/intern/intern.mjs +293 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2019_09.mjs +288 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_2020_12.mjs +300 -0
- package/node_modules/typebox/build/schema/meta/draft_3.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_3.mjs +143 -0
- package/node_modules/typebox/build/schema/meta/draft_4.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_4.mjs +149 -0
- package/node_modules/typebox/build/schema/meta/draft_6.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_6.mjs +155 -0
- package/node_modules/typebox/build/schema/meta/draft_7.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/draft_7.mjs +172 -0
- package/node_modules/typebox/build/schema/meta/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/meta/index.mjs +2 -0
- package/node_modules/typebox/build/schema/meta/meta.d.mts +9 -0
- package/node_modules/typebox/build/schema/meta/meta.mjs +15 -0
- package/node_modules/typebox/build/schema/meta/schema.d.mts +6 -0
- package/node_modules/typebox/build/schema/meta/schema.mjs +1 -0
- package/node_modules/typebox/build/schema/parse.d.mts +14 -0
- package/node_modules/typebox/build/schema/parse.mjs +35 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +5 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +89 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +9 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +331 -0
- package/node_modules/typebox/build/schema/schema.d.mts +12 -0
- package/node_modules/typebox/build/schema/schema.mjs +12 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/propertyNames.d.mts +5 -0
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +59 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +51 -0
- package/node_modules/typebox/build/schema/types/index.mjs +57 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +261 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +40 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +40 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +40 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +40 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +40 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +40 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +40 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +40 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +40 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +40 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +40 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +40 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +40 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +40 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +40 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +40 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +40 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +40 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +40 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +40 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +19 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +25 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/create.mjs +34 -0
- package/node_modules/typebox/build/system/memory/deep.d.mts +2 -0
- package/node_modules/typebox/build/system/memory/deep.mjs +108 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +19 -0
- package/node_modules/typebox/build/system/memory/finalize.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/finalize.mjs +30 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/keys.d.mts +2 -0
- package/node_modules/typebox/build/system/memory/keys.mjs +8 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/update.mjs +60 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
- package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +91 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +50 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
- package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +12 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +13 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +30 -0
- package/node_modules/typebox/build/type/action/index.mjs +30 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +13 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +13 -0
- package/node_modules/typebox/build/type/action/module.d.mts +13 -0
- package/node_modules/typebox/build/type/action/module.mjs +13 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +19 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/with.d.mts +11 -0
- package/node_modules/typebox/build/type/action/with.mjs +11 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +66 -0
- package/node_modules/typebox/build/type/engine/call/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/call/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +79 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +16 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +45 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +47 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +28 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +47 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +37 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +18 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +33 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +33 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +26 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +56 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +10 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +36 -0
- package/node_modules/typebox/build/type/engine/evaluate/property.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/property.mjs +29 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +22 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +22 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +11 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +28 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +178 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +158 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +29 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +39 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +36 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +11 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +27 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +25 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +10 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +26 -0
- package/node_modules/typebox/build/type/engine/this/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/this/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/engine/with/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/with/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/with/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +7 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +53 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +80 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +27 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +49 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +75 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +32 -0
- package/node_modules/typebox/build/type/extends/object.mjs +109 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/record.mjs +23 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +23 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +81 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +356 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +528 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +256 -0
- package/node_modules/typebox/build/type/script/parser.mjs +140 -0
- package/node_modules/typebox/build/type/script/script.d.mts +16 -0
- package/node_modules/typebox/build/type/script/script.mjs +22 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +60 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +18 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +18 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +9 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +18 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +24 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +36 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +23 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +13 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
- package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +18 -0
- package/node_modules/typebox/build/type/types/enum.mjs +22 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +45 -0
- package/node_modules/typebox/build/type/types/index.mjs +51 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +52 -0
- package/node_modules/typebox/build/type/types/record.mjs +66 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +45 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +69 -0
- package/node_modules/typebox/build/typebox.mjs +85 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +17 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +21 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +12 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +6 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +10 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +52 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +52 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +42 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +39 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +32 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +39 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +43 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +61 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +25 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +6 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +12 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +20 -0
- package/node_modules/typebox/build/value/index.mjs +29 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +53 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +88 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +7 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +83 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +15 -0
- package/node_modules/typebox/build/value/value.mjs +15 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +339 -0
- package/package.json +51 -4
- package/skills/pi-proactive/SKILL.md +182 -0
package/README.md
CHANGED
|
@@ -1,3 +1,706 @@
|
|
|
1
|
-
#
|
|
1
|
+
# pi-proactive
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
给 Pi 增加「主动」能力:**空闲时主动推进或提问、按时间点主动发起任务、多个会话之间对话协作**。
|
|
4
|
+
|
|
5
|
+
本包是 Pi 的一个扩展包(`pi-package`),加载后提供:
|
|
6
|
+
|
|
7
|
+
- `/proactive` 命令面:查看状态、开关主动性、排期任务、取消任务;
|
|
8
|
+
- `schedule_task` / `message_agent` / `list_peers` **三个模型工具**:模型可以自己排活、给另一个会话发消息、**先查清有哪些对端在线/空闲/擅长什么再发**(`list_peers` 只读);
|
|
9
|
+
- 跨进程协作层:同机 Unix socket 实时通道 + 文件邮箱兜底 + 消息去重。
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 许可与分发(专有)
|
|
14
|
+
|
|
15
|
+
**本软件是专有软件(proprietary),非开源:源码不公开,分发物只含编译后的 JavaScript 产物。**
|
|
16
|
+
|
|
17
|
+
- 许可:`package.json` 的 `license` 为 `SEE LICENSE IN LICENSE`,协议正文 = 本包内的 `LICENSE` 文件(版权所有 / 仅限内部授权使用 / **禁止再分发** / 禁止反编译与再授权 / 授权期限与联系)。
|
|
18
|
+
- **分发物不含任何 `.ts` 源码**:安装包里只有 `build/`(编译产物)、`skills/`、`README.md`、`CHANGELOG.md`、`LICENSE`。
|
|
19
|
+
- 内部分发走 tarball(`tools/release-pack.sh` 产出 + sha256);**安装必须先解包再以目录方式装**(直装 `.tgz` 会「显示成功」但宿主加载失败 —— 实测陷阱)。
|
|
20
|
+
- 发布前必须跑 `bash scripts/ci/publish-preflight.sh --registry <url> --public`(检查私有协议 / 零 `.ts` 源码 / 无内部路径与文档 / 入口在包内)。
|
|
21
|
+
|
|
22
|
+
## 安装
|
|
23
|
+
|
|
24
|
+
### 方式 A:私有 npm 源(组织 scope,跨机器可用)
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
pi install npm:pi-proactive
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
- 当前发布:`0.2.0-beta.1`(dist-tag `beta` / `latest`),integrity `sha512-q+fSY0OvPp8BeH1MGWSWqkhoVIjmZbQmd2ry5sPAQsqL8pvAQs0i1VrrAaLvy6Tds1l3fS01yBm/XzTl2bS9mQ==`
|
|
31
|
+
- 校验下载到的制品是否与发布一致:`npm view pi-proactive@0.2.0-beta.1 dist.integrity`
|
|
32
|
+
- **供应链缺口(如实披露)**:本次发布**未带 npm provenance**(本地发布无法生成;发布工作流模板见 `scripts/ci/publish-npm.yml`(复制到 `.github/workflows/` 后生效,需 GitHub token 的 `workflow` scope),**后续版本**将从 CI 发布并自动带 provenance)。
|
|
33
|
+
|
|
34
|
+
### 方式 B:本地目录 / tarball(离线或内部试用)
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pi install ./pi-proactive # 本仓库内
|
|
38
|
+
bash pi-proactive/tools/release-pack.sh --out ./dist # 产出**全量交付束**:tarball + sha256 + 交付目录 + zip + manifest,并跑四项自检(新鲜度/内容/校验记录值/zip 一致)
|
|
39
|
+
pi install ~/.pi/packages/pi-proactive # 先解包再按目录装(见下)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
> 宿主会把安装源记成**相对路径** → 请把包放在**稳定目录**里、不要移动它。
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
# 作为 pi 包安装(写入 ~/.pi/agent/settings.json)
|
|
47
|
+
pi install ./pi-proactive
|
|
48
|
+
|
|
49
|
+
# 本地试用:只加载扩展本体,不写入设置
|
|
50
|
+
pi --extension ./pi-proactive/extensions/proactive.ts
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
宿主自带的包(`@earendil-works/pi-coding-agent`、`@earendil-works/pi-agent-core`、`typebox`)只声明为
|
|
54
|
+
`peerDependencies`(`"*"`),由宿主提供,**不随本包安装**(Pi 文档明确:把宿主包放进 `dependencies`
|
|
55
|
+
会产生物理副本、绕过扩展模块映射,导致重复类与重复注册)。
|
|
56
|
+
|
|
57
|
+
> **版本约束**:本扩展的**全部宿主 API 断言只对 `@earendil-works/pi-coding-agent` 1.3.0 验证过**。
|
|
58
|
+
> `package.json` 的 `engines.pi` 写作 `>=1.3.0`(最低可用版本),但**更高版本未验证** ——
|
|
59
|
+
> 升级 pi 后可能出现行为变化,升级后请先重跑 runtime 探针再依赖本插件的自动行为。
|
|
60
|
+
|
|
61
|
+
## 5 分钟快速上手(内测版)
|
|
62
|
+
## 24×7 数字员工(常驻形态,**默认关闭**)
|
|
63
|
+
|
|
64
|
+
需要一个**人不在场也在干活**的常驻代理时再开(它会真花你的账号额度):
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# 安装(幂等;macOS 用 launchd,Linux 用 systemd --user)
|
|
68
|
+
bash <安装目录>/tools/daemon-install.sh
|
|
69
|
+
|
|
70
|
+
# 看看它昨晚干了什么 + 有什么等你确认
|
|
71
|
+
/proactive doctor
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
- **默认 `enabled=false` + 干跑** → 装了不花钱、不投递任何任务;
|
|
75
|
+
- 开启后仍受**预算硬上限**约束(每小时/每日动作数;token 只做估算)→ 超限自动**降级为只观察**并记账;
|
|
76
|
+
- **不可逆动作绝不自动执行** → 进人工确认队列,早间交班时呈现;
|
|
77
|
+
- 形态:macOS `launchd`(KeepAlive)/ Linux `systemd --user`(Restart=always);
|
|
78
|
+
- 自愈:崩溃自动重启、幂等认领、半成品不重放;卸载用 `tools/daemon-uninstall.sh`(幂等、无残留)。
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
面向**第一次拿到内测包**的同事,按顺序做这 5 步就能看到插件真的主动一次。
|
|
83
|
+
|
|
84
|
+
### 步骤 1|装什么、装在哪
|
|
85
|
+
|
|
86
|
+
内测分发物是 **tarball + sha256 校验文件**(不是 git 仓库路径):
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
# 拿到 tarball 后先校验
|
|
90
|
+
cd <tarball 所在目录>
|
|
91
|
+
shasum -a 256 -c pi-proactive-<版本>.tgz.sha256
|
|
92
|
+
|
|
93
|
+
# 解包到一个**稳定目录**(内测包与仓库无关,但目录本身别乱挪 —— 见下面的说明)
|
|
94
|
+
mkdir -p ~/.pi/packages && tar -xzf pi-proactive-<版本>.tgz -C ~/.pi/packages
|
|
95
|
+
mv ~/.pi/packages/package ~/.pi/packages/pi-proactive
|
|
96
|
+
|
|
97
|
+
# 以 pi 包的形式安装(写入 ~/.pi/agent/settings.json)
|
|
98
|
+
pi install ~/.pi/packages/pi-proactive
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
> **为什么强调「稳定目录」**:`pi install` 会把安装源记进 `settings.json` 的 `packages`,
|
|
102
|
+
> 记的形式是**相对 settings.json 所在目录的相对路径**(宿主行为,见 `docs/packages.md`)。
|
|
103
|
+
> 所以只要**包目录本身不挪动**,仓库怎么移动、改名都不影响;
|
|
104
|
+
> 但如果把包解到 `/tmp` 这类会被系统清理的位置,装完过一阵就会失效。
|
|
105
|
+
> 建议固定用 `~/.pi/packages/pi-proactive`。
|
|
106
|
+
|
|
107
|
+
也可以**直接从源码目录**装(开发场景,注意源码目录挪动后要重新 `pi install`):
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
pi install ./pi-proactive # 相对路径:相对 settings.json 所在目录解析
|
|
111
|
+
pi install /abs/path/to/pi-proactive # 绝对路径:宿主会换算成相对 settings.json 的相对路径
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
> 自己打内测包:`bash pi-proactive/tools/release-pack.sh --out <产物目录>`
|
|
115
|
+
> → 产出 tarball + `.sha256` + **交付目录**(README / SKILL / ops / onboarding / LICENSE / CHANGELOG / DELIVERY / tools / tgz / sha256)+ **zip** + `manifest.json`(逐项 sha256 与大小);幂等:同输入同字节。
|
|
116
|
+
> 脚本**自检**四项,任一不符即非零退出:① 交付目录内的 tgz 与本次构建同哈希 ② 包内含 `src/peer-spawn.ts` 等当前能力文件 ③ `.sha256` 记录值与实算一致 ④ zip 与交付目录逐项一致。
|
|
117
|
+
> 复验既有交付束(不重新打包):`bash pi-proactive/tools/release-pack.sh --check-only --out <产物目录>`。
|
|
118
|
+
|
|
119
|
+
### 步骤 2|怎么确认装上了
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
pi list # 列表里应出现 pi-proactive
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
再开一个会话,执行下面这条命令,**有回执**就算装上了:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
/proactive status
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### 步骤 3|看一次状态(先看懂再动手)
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
/proactive status
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
输出是 7 行「人话 + 机器可读字段」,例如:
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
主动性:已开启 (enabled=true)
|
|
141
|
+
空闲触发:关 (idleTriggerEnabled=false)
|
|
142
|
+
空闲检测:关闭 (idleDetect=off)
|
|
143
|
+
空闲计时:—(未启用) (idleForMs=1823)
|
|
144
|
+
提问超时:2m (askTimeoutMs=120000)
|
|
145
|
+
限制:最短间隔 5m (minGapMs=300000) · 每小时上限 6 (maxPerHour=6) · 静默时段 未设置 (quietHours=无)
|
|
146
|
+
下次空闲触发:—(空闲触发未开启) (nextTriggerInMs=—)
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
最后一行会说明**为什么触发 / 为什么没触发**(排障先看这一行)。
|
|
150
|
+
|
|
151
|
+
### 步骤 4|让它第一次真的主动(两处都要改)
|
|
152
|
+
|
|
153
|
+
装上后插件**默认不打扰**(`idleTrigger.enabled=false`)。要看到第一次主动,需要**两个开关**:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
# (a) 打开空闲触发(内存态:只对当次进程有效,重启后回到配置文件里的设置)
|
|
157
|
+
/proactive idle on
|
|
158
|
+
# ↳ 这一步同时会把 idleDetect 从 off 切到 input-only,否则开了也不会真的触发
|
|
159
|
+
|
|
160
|
+
# (b) 把阈值调小(默认 10 分钟太久,等不到)——改配置文件后重启会话
|
|
161
|
+
# <agent-dir> = $PI_CODING_AGENT_DIR,未设置时是 ~/.pi/agent
|
|
162
|
+
cat ~/.pi/agent/proactive/config.json
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
把 `config.json` 改成(只改这两处,其余字段保留):
|
|
166
|
+
|
|
167
|
+
```json
|
|
168
|
+
{
|
|
169
|
+
"idleTrigger": { "enabled": true, "afterMs": 30000 },
|
|
170
|
+
"limits": { "minGapMs": 60000 }
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
- `afterMs: 30000` = 空闲 30 秒就够触发(默认 600000 = 10 分钟);
|
|
175
|
+
- `minGapMs: 60000` = 两次主动之间至少隔 1 分钟(默认 300000 = 5 分钟)——
|
|
176
|
+
**不调它,即使阈值到了也会被冷却挡掉**(判定说明会显示「冷却中」)。
|
|
177
|
+
|
|
178
|
+
改完重启会话,再 `/proactive status`,看 `nextTriggerInMs` 在往下走 → 到了就会主动推进一次。
|
|
179
|
+
想立刻自检链路,可以用 `/proactive test`(**强制**投递,绕过冷却与频率上限)。
|
|
180
|
+
|
|
181
|
+
### 步骤 5|怎么关掉
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
/proactive off # 关闭主动性总开关(已落盘,重启后仍生效;已排期任务保留)
|
|
185
|
+
/proactive idle off # 只关空闲触发(内存态)
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
`/proactive on` 可以再打开。彻底卸载见下面「卸载与回滚」。
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## 典型场景脚本(可直接复制)
|
|
193
|
+
|
|
194
|
+
> 在 Pi 会话里直接粘贴命令;`#` 开头是注释,可以一起粘。
|
|
195
|
+
|
|
196
|
+
### 场景 1|空闲时主动汇报进度(最常用)
|
|
197
|
+
|
|
198
|
+
```
|
|
199
|
+
# 打开空闲触发并把阈值压到 30 秒(内存态部分 + 配置文件部分见「步骤 4」)
|
|
200
|
+
/proactive idle on
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
配置里设:
|
|
204
|
+
|
|
205
|
+
```json
|
|
206
|
+
{
|
|
207
|
+
"idleTrigger": {
|
|
208
|
+
"enabled": true,
|
|
209
|
+
"afterMs": 30000,
|
|
210
|
+
"intent": "wake",
|
|
211
|
+
"prompt": "用户已空闲,请用一句话汇报当前进度,并给出下一步建议。"
|
|
212
|
+
},
|
|
213
|
+
"limits": { "minGapMs": 60000, "maxPerHour": 6 }
|
|
214
|
+
}
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
效果:用户停手 30 秒后,插件自己起一轮,把这段提示词投给模型,模型回一句话。
|
|
218
|
+
**恢复安静**:`/proactive idle off`。
|
|
219
|
+
|
|
220
|
+
### 场景 2|定时提醒(喝水 / 站起来 / 收工)
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
/proactive in 30m 起来活动一下,喝口水
|
|
224
|
+
/proactive at 18:30 该收工了,保存一下今天的进度
|
|
225
|
+
/proactive every 2h 看一下构建有没有挂
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
- `in <时长> <内容>`:时长后触发一次(`30s` / `10m` / `2h` / `1d` / 纯数字按秒);
|
|
229
|
+
- `at <HH:MM> <内容>`:到当天该时刻触发(**已过则顺延到明天**);
|
|
230
|
+
- `every <时长> <内容>`:按间隔重复。
|
|
231
|
+
|
|
232
|
+
查任务 / 取消:
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
/proactive tasks # 看 id、排期类型、相对到期、intent、归属、开关
|
|
236
|
+
/proactive cancel <id> # 取消(id 从上一条里抄)
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
> ⚠️ 定时任务与主动触发**共用同一个冷却闸门**:默认 `minGapMs=300000`(5 分钟),
|
|
240
|
+
> 到点投递**可能顺延最多约 5 分钟**。要准点,把 `limits.minGapMs` 调小。
|
|
241
|
+
|
|
242
|
+
### 场景 3|跨会话提问与回复(两个会话之间)
|
|
243
|
+
|
|
244
|
+
会话 A(发起方)直接跟模型说:
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
用 message_agent 工具给会话 "builder" 发一条 kind="ask" 的消息:
|
|
248
|
+
标题「进度同步」,正文「你那边跑到哪一步了?还剩什么没做完?」。
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
会话 B(对端)会收到提问,模型回答后**自动回送一条 reply**(携带原 `correlationId`)。
|
|
252
|
+
|
|
253
|
+
- 手工点名也可以:在会话 A 里执行 `/proactive peers` 看在线 peer 的**名字与 agentId**;
|
|
254
|
+
- 对端**必须也装了本插件**,否则消息不会被消费;
|
|
255
|
+
- 对端**离线**也能发:消息落盘到对端邮箱,等对方**以同一 sessionId 重启**后取回
|
|
256
|
+
—— 这种情况下回执是 `queued`(**已落盘、尚未送达**,不是「已送达」)。
|
|
257
|
+
|
|
258
|
+
### 场景 4|让模型自己排活(`schedule_task` 工具)
|
|
259
|
+
|
|
260
|
+
跟模型说:
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
帮我把「每 30 分钟检查一次 CI」排成一个重复任务,用 schedule_task 工具,when 传 30m。
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
模型会调用 `schedule_task` 真正落库(进任务表、进程退出后仍在),到期由调度器投递。
|
|
267
|
+
|
|
268
|
+
### 场景 5|只看不改(值班/观察模式)
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
/proactive status # 总览 + 为什么触发/为什么没触发
|
|
272
|
+
/proactive tasks # 待触发任务
|
|
273
|
+
/proactive peers # 在线 peer、心跳、当前任务
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
只读这三条不会产生任何投递动作。
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## 卸载与回滚
|
|
281
|
+
|
|
282
|
+
### 停用(推荐先做这步)
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
/proactive off # 主动性总开关关闭(已落盘);已排期任务保留在任务表里
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### 彻底卸载(三步)
|
|
289
|
+
|
|
290
|
+
```bash
|
|
291
|
+
# 1) 卸包
|
|
292
|
+
pi remove <安装时用的包路径或包名>
|
|
293
|
+
# 或直接编辑 ~/.pi/agent/settings.json 的 "packages" 数组,删掉 pi-proactive 那一项
|
|
294
|
+
|
|
295
|
+
# 2) 删运行期数据目录(可选,但这是「彻底」)
|
|
296
|
+
# 数据目录 = <agent-dir>/proactive/
|
|
297
|
+
# <agent-dir> = $PI_CODING_AGENT_DIR,未设置时是 ~/.pi/agent
|
|
298
|
+
rm -rf ~/.pi/agent/proactive # 先确认路径!别手抖删错目录
|
|
299
|
+
|
|
300
|
+
# 3) 确认
|
|
301
|
+
pi list # 列表里不应再有 pi-proactive
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
### 数据目录在哪、删了会丢什么
|
|
305
|
+
|
|
306
|
+
数据目录:`<agent-dir>/proactive/`(默认 `~/.pi/agent/proactive/`),目录权限 `0700`、文件 `0600`。
|
|
307
|
+
删掉它 = **删掉本机全部运行期数据**:
|
|
308
|
+
|
|
309
|
+
| 删掉的东西 | 后果 |
|
|
310
|
+
|---|---|
|
|
311
|
+
| `tasks.json` | **所有排期任务消失**(不可重建:排期只有这一个来源) |
|
|
312
|
+
| `mailbox/` | 未处理 / 待重试 / 已归档的消息**全部消失**(对端可能一直在等这些消息的回复) |
|
|
313
|
+
| `processed/`(含 `seen.json`) | 去重账本消失 → 窗口内的重复消息会被**重新处理**(不丢消息,但会重复动作) |
|
|
314
|
+
| `threads/` | 线程日志(审计 + 轮次计数)消失 → 轮次上限判定失准(可能多跑几轮) |
|
|
315
|
+
| `agents/` | 在线名单消失 → 对端暂时找不到你(重新启动会话会重新注册) |
|
|
316
|
+
| `config.json` | 配置回到默认值(`enabled=true`、`idleTrigger.enabled=false`) |
|
|
317
|
+
| `run/*.sock` | socket 端点(进程退出时会自动清理;僵尸端点下次启动会重建) |
|
|
318
|
+
|
|
319
|
+
> **只想静音、不想丢数据**:只做 `/proactive off`,**不要**删数据目录。
|
|
320
|
+
|
|
321
|
+
### 回滚到旧版本
|
|
322
|
+
|
|
323
|
+
```bash
|
|
324
|
+
# 1) 备份当前数据(回滚前必做)
|
|
325
|
+
cp -a ~/.pi/agent/proactive ~/.pi/agent/proactive.bak.$(date +%s)
|
|
326
|
+
|
|
327
|
+
# 2) 装回旧版
|
|
328
|
+
pi install <旧版本包目录>
|
|
329
|
+
|
|
330
|
+
# 3) 重启会话,用 /proactive status 确认读到的是旧版配置
|
|
331
|
+
|
|
332
|
+
# 4) 若旧版读不懂新版数据(新版写了旧版不认识的落盘版本号)→ 恢复备份
|
|
333
|
+
# rm -rf ~/.pi/agent/proactive
|
|
334
|
+
# cp -a ~/.pi/agent/proactive.bak.<时间戳> ~/.pi/agent/proactive
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
当前落盘格式版本是 `v1`,**没有 `version` 字段的文件按 `v1` 读**(升级不丢数据),
|
|
338
|
+
所以在版本号不变的前提下,**回滚不需要动数据**。
|
|
339
|
+
|
|
340
|
+
---
|
|
341
|
+
|
|
342
|
+
## 反馈渠道(内测)
|
|
343
|
+
|
|
344
|
+
**报给谁**:直接报给**发给你这个 tarball 的同学**(内测发包人);也可以在本仓库开 issue 记录。
|
|
345
|
+
|
|
346
|
+
**请一并带上这三样**(缺一样都很难复现):
|
|
347
|
+
|
|
348
|
+
1. **版本**:`pi-proactive` 的版本号(tarball 文件名里就有,如 `0.2.0-beta.1`);
|
|
349
|
+
2. **`/proactive status` 的完整输出**(它含 `enabled` / `idleDetect` / `minGapMs` /
|
|
350
|
+
`maxPerHour` / `quietHours` / `nextTriggerInMs` 与「为什么触发/为什么没触发」的判定说明);
|
|
351
|
+
3. **宿主版本**:`pi --version`(本扩展的宿主 API 断言只对 pi 1.3.0 做过验证)。
|
|
352
|
+
|
|
353
|
+
**再附上**(有则更好):复现步骤、期望 vs 实际、插件 stderr 里带 `[proactive]` 前缀的日志片段、
|
|
354
|
+
`<agent-dir>/proactive/` 下相关文件(如 `tasks.json`、某个信封)。
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
## 内测边界(**先知道这些,免得误判**)
|
|
359
|
+
|
|
360
|
+
这是**内测版**,以下四条是**当前已知边界**,不是待修的 bug 清单:
|
|
361
|
+
|
|
362
|
+
1. **跨机行为未验证** —— 跨主机(共享目录 / NFS)只有落盘排队(约一个轮询周期,秒级),
|
|
363
|
+
掉线或过期都可能导致消息不被处理。**内测期请限定同机使用。**
|
|
364
|
+
2. **无鉴权** —— 威胁模型是「同 UID 可信」:同 UID 的任意进程可以往邮箱写文件并冒用 `from`。
|
|
365
|
+
**本插件不是安全边界**,不要用它防御同机其它进程。
|
|
366
|
+
3. **TUI 完整链路未验证** —— 真人按键下的「提问 → 回答 → 回填」完整闭环只做了部分场景抽验
|
|
367
|
+
(见 `docs/review/tui-smoke.md` 自述的 7 项未验证项);rpc / json / print 等非交互模式的降级行为有实测。
|
|
368
|
+
4. **定时投递可能被 5 分钟冷却顺延** —— 排期任务与主动触发共用同一个冷却闸门
|
|
369
|
+
(默认 `limits.minGapMs=300000`),到点投递**可能晚约 5 分钟**。要准点就调小 `minGapMs`。
|
|
370
|
+
|
|
371
|
+
其它未验证项(长时驻留 > 10 分钟、`every` 的小时级节拍、跨模型家族独立复验等)
|
|
372
|
+
见下方「能力边界与限制」一节,那里是**逐条如实列出**的完整清单。
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
## 命令(Usage)
|
|
378
|
+
|
|
379
|
+
Usage: `/proactive <子命令>`。下表**逐条对应实现里实际注册的分支**(`src/commands.ts` 的命令处理
|
|
380
|
+
`switch`),未列出的子命令会被拒绝并提示可用清单。
|
|
381
|
+
|
|
382
|
+
> **命令面真源 = 实现**:下表由 `scripts/gen-doc-tables.sh` 从 `pi-proactive/src/commands.ts` 的
|
|
383
|
+
> `SUBCOMMANDS` + `switch (sub)` 的 case 分派**自动生成**(共 **16 个命令**),**不要手改**;
|
|
384
|
+
> 要改命令面请改实现,然后跑 `bash scripts/gen-doc-tables.sh --apply`(门禁 `scripts/check-doc-tables.sh` 校验)。
|
|
385
|
+
|
|
386
|
+
<!-- BEGIN:GEN commands -->
|
|
387
|
+
| 命令 | 参数形态 | 做什么 | 状态 |
|
|
388
|
+
| --- | --- | --- | --- |
|
|
389
|
+
| `/proactive status` | `无` | 总览:开关、空闲计时、待触发任务、对端在线、上次主动、本小时用量。 | 已实现 · `pi-proactive/src/commands.ts:550` |
|
|
390
|
+
| `/proactive on` | `无` | 打开全部「代理自发」行为(空闲触发、模型自调度、跨会话自发请求)。 | 已实现 · `pi-proactive/src/commands.ts:565` |
|
|
391
|
+
| `/proactive off` | `无` | 关闭全部「代理自发」行为;已排期任务保留但不再触发。 | 已实现 · `pi-proactive/src/commands.ts:566` |
|
|
392
|
+
| `/proactive test` | `无` | 立即模拟一次触发(走完整「护栏 → 投递」链路),用于验证主动能力是否真的生效。 | 已实现 · `pi-proactive/src/commands.ts:644` |
|
|
393
|
+
| `/proactive tasks` | `无` | 列出所有待触发任务(编号 / 类型 / 下次到期 / 归属 / 触发次数)。 | 已实现 · `pi-proactive/src/commands.ts:647` |
|
|
394
|
+
| `/proactive cancel` | `<id>` | 取消一个任务。 | 已实现 · `pi-proactive/src/commands.ts:673` |
|
|
395
|
+
| `/proactive idle` | `on\|off` | 打开 / 关闭空闲触发并设定阈值(on 可带时长参数,省略 = 用上次设定)。 | 已实现 · `pi-proactive/src/commands.ts:713` |
|
|
396
|
+
| `/proactive peers` | `[--all\|--idle\|--name <子串>\|--detail <agentId>]` | 列出已注册的对端与在线状态(名字 / 忙闲 / 最后心跳);可加 --all / --idle / --name / --detail。 | 已实现 · `pi-proactive/src/commands.ts:586` |
|
|
397
|
+
| `/proactive spawn` | `[名字]` | 创建一个对端会话(子进程 pi --mode rpc);本会话退出时一并终止。 | 已实现 · `pi-proactive/src/commands.ts:621` |
|
|
398
|
+
| `/proactive in` | `<时长> <内容>` | 排一个延迟任务(默认只属于当前会话)。 | 已实现 · `pi-proactive/src/commands.ts:691` |
|
|
399
|
+
| `/proactive at` | `<HH:MM> <内容>` | 排一个绝对时间任务。 | 已实现 · `pi-proactive/src/commands.ts:692` |
|
|
400
|
+
| `/proactive every` | `<时长> <内容>` | 排一个周期任务。 | 已实现 · `pi-proactive/src/commands.ts:693` |
|
|
401
|
+
| `/proactive help` | `无` | 打印命令速查表(命令表 / 配置键 / 最常见故障 / 详细文档路径)。 | 已实现 · `pi-proactive/src/commands.ts:728` |
|
|
402
|
+
| `/proactive history` | `[peer\|me] [条数]` | 查看最近的主动行为记录(时间 / 类型 / 目标 / 结果 / 被护栏拦下的原因)。 | 已实现 · `pi-proactive/src/commands.ts:651` |
|
|
403
|
+
| `/proactive doctor` | `[--json]` | 只读体检:逐项健康判定 + 处置建议(--json 机器可读);不打扰、不耗额度。 | 已实现 · `pi-proactive/src/commands.ts:558` |
|
|
404
|
+
| `/proactive tell` | `<peer> <内容> [--kind ask\|task\|notify]` | 人侧给另一个会话下指令(--kind ask\|task\|notify,缺省 ask 要回话);回信落回本会话。 | 已实现 · `pi-proactive/src/commands.ts:641` |
|
|
405
|
+
<!-- END:GEN commands -->
|
|
406
|
+
|
|
407
|
+
排期命令的排期结果会**当场回执**(任务 id、相对到期、绝对到期),任务**落盘**在任务表里,进程退出后仍在,
|
|
408
|
+
下次启动继续按表调度。
|
|
409
|
+
|
|
410
|
+
> 注:`/proactive quiet` **不是命令**(输入会被拒绝;静默时段是配置项 `limits.quietHours`);
|
|
411
|
+
> `/proactive notify` **不是命令**(`notify` 是消息语义 `kind:"notify"`,由模型工具 `message_agent` 承载,
|
|
412
|
+
> 人侧给对端下指令用 `/proactive tell`);`/proactive history [peer|me] [条数]` **已实现**。
|
|
413
|
+
> 各命令的**行为细节**(落盘 / 内存态、参数怎么写、失败怎么提示)见下方「典型场景脚本」「配置」「排障」三节。
|
|
414
|
+
|
|
415
|
+
---
|
|
416
|
+
|
|
417
|
+
## 模型工具
|
|
418
|
+
|
|
419
|
+
<!-- BEGIN:GEN tools -->
|
|
420
|
+
| 工具 | 参数 | 作用 | 定义位置 |
|
|
421
|
+
| --- | --- | --- | --- |
|
|
422
|
+
| `schedule_task` | prompt(必填):任务提示词<br>intent(可选):投递意图,默认 wake(取值:wake \| interrupt \| queue \| notify)<br>askUser(可选):触发时是否向用户提问(仅本地)<br>when(可选):触发时间:时长(10m)/ 时刻(18:30)/ ISO 8601;缺省按 10m 处理 | 预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。when 支持时长(10m)、时刻(18:30)或 ISO 时间;缺省按 10m 处理。 | `pi-proactive/extensions/proactive.ts:624` |
|
|
423
|
+
| `message_agent` | to(必填):目标 agent 的名字或 agentId<br>kind(可选):消息语义(对方要不要回我);缺省 notify(取值:notify \| ask \| task \| reply \| broadcast)<br>subject(可选):标题<br>body(必填):正文<br>intent(可选):投递意图(怎么投给对方);缺省 wake(取值:wake \| interrupt \| queue \| notify)<br>threadId(可选):话题 / 会话 id(可选) | 给另一个正在运行的 agent 会话发消息(跨进程协作)。对端在线时走 socket 直达;不在线时消息落盘到对端邮箱,待其上线后处理。 | `pi-proactive/extensions/proactive.ts:669` |
|
|
424
|
+
| `list_peers` | name(可选):名字子串(大小写敏感;也命中 agentId)。同名歧义时返回与 message_agent 报错完全一致的候选<br>status(可选):按在场状态过滤(online = 在线 = 空闲 ∪ 忙碌)(取值:online \| idle \| busy \| offline)<br>capability(可选):按能力标签过滤(如 message_agent)<br>includeOffline(可选):是否包含离线对端(缺省 false = 只给在线) | 列出本机可见的其它 agent 对端(名字 / agentId / 在场状态 / 心跳龄 / 能力标签 / 在途任务数 / 传输方式),可按名字、状态、能力过滤。**只读**:不产生任何对外行为。发消息前先查它(先查后发),别盲发 —— 离线对端现在打扰它不合适。 | `pi-proactive/extensions/proactive.ts:743` |
|
|
425
|
+
| `proactive_query` | action(必填):查询动作(与 /proactive 子命令同名)(取值:peers \| history \| status \| tasks \| doctor \| help)<br>name(可选):peers:名字子串过滤<br>all(可选):peers:是否包含离线对端<br>idle(可选):peers:只看空闲对端<br>detail(可选):peers:只看这一个 agentId<br>scope(可选):history:范围(对端 / 我)(取值:peer \| me)<br>peer(可选):history:按对端 agentId 过滤<br>limit(可选):history:条数(1-200 的整数)<br>json(可选):doctor:输出 JSON | 查询域:查对端(peers)/ 看主动行为历史(history)/ 看状态(status)/ 看任务(tasks)/ 只读体检(doctor)/ 看命令手册(help)。**只读**:不产生任何对外行为。 | `pi-proactive/extensions/proactive.ts:780` |
|
|
426
|
+
| `proactive_schedule` | action(必填):排程动作(与 /proactive 子命令同名)(取值:in \| at \| every \| cancel)<br>when(可选):in/at/every:触发时间(时长 10m / 时刻 18:30)<br>content(可选):in/at/every:任务内容<br>id(可选):cancel:任务 id | 排程域:定时(in)/ 定点(at)/ 周期(every)/ 取消(cancel)。落到真实任务表,到点由调度器投递;与命令面 `/proactive in\|at\|every\|cancel` 同源。 | `pi-proactive/extensions/proactive.ts:806` |
|
|
427
|
+
| `proactive_peer` | action(必填):对端动作(与 /proactive 子命令同名)(取值:tell \| spawn)<br>peer(可选):tell:目标对端(名字或 agentId)<br>content(可选):tell:指令内容<br>kind(可选):tell:指令类型(缺省 ask)(取值:ask \| task \| notify)<br>subject(可选):tell:标题<br>thread(可选):tell:线程 id<br>name(可选):spawn:对端名字 | 对端协作域:给对端下指令(tell)/ 创建对端会话(spawn,受同时存活数上限)。tell 的目标解析与回执三态与命令面 `/proactive tell` 完全同源。 | `pi-proactive/extensions/proactive.ts:825` |
|
|
428
|
+
| `proactive_manage` | action(必填):管理动作(与 /proactive 子命令同名)(取值:on \| off \| idle \| test)<br>state(可选):idle:开 / 关(取值:on \| off) | 管理域:主动性总开关(on/off)、空闲触发开关(idle)、自检(test)。这些能力属 human-gated:调用只会回报「需人工确认」并给出可复制的人工指令,**不会**自行改动全局开关。 | `pi-proactive/extensions/proactive.ts:847` |
|
|
429
|
+
<!-- END:GEN tools -->
|
|
430
|
+
|
|
431
|
+
> **模型工具面真源 = 实现**:上表由 `scripts/gen-doc-tables.sh` 从 `pi-proactive/extensions/proactive.ts` 的
|
|
432
|
+
> `pi.registerTool({ name: … })` 注册项与参数 schema **自动生成**(共 **7 个模型工具**),**不要手改**;
|
|
433
|
+
> 表中参数即真实 schema。下面三个小节是逐个工具的展开说明。
|
|
434
|
+
|
|
435
|
+
### `schedule_task`
|
|
436
|
+
|
|
437
|
+
预约一个稍后触发的任务(真正落库到任务表,到点由调度器投递)。
|
|
438
|
+
|
|
439
|
+
| 参数 | 类型 | 说明 |
|
|
440
|
+
| --- | --- | --- |
|
|
441
|
+
| `prompt` | `string`(必填) | 任务提示词 |
|
|
442
|
+
| `intent` | `"wake" \| "interrupt" \| "queue" \| "notify"` | 投递意图,缺省取配置里的 `idleTrigger.intent`(默认 `wake`) |
|
|
443
|
+
| `askUser` | `boolean` | 触发时是否向用户提问(仅本地)。提问**必须带超时**;**用户取消**与**超时**是两个结局:取消 → **不消耗额度**、不记待答(只留一条 `declined` 审计事件)、文案「已取消」;超时 → **消耗额度**、记待答(`pending`)、文案「未在时限内收到回答,已记为待答」。额度**在提问有结论之后**才记账(回答 / 超时才扣,取消不扣);提问窗口内不叠加提问与本机投递 |
|
|
444
|
+
| `when` | `string` | 触发时间:时长(`10m`)/ 时刻(`18:30`)/ ISO 8601;**缺省按 `10m` 处理** |
|
|
445
|
+
|
|
446
|
+
返回:`details.created === true` 时带 `taskId` / `dueAt` / `schedule`;参数非法或任务表未初始化时
|
|
447
|
+
`details.created === false` 并带 `error` 文案。
|
|
448
|
+
|
|
449
|
+
### `list_peers`
|
|
450
|
+
|
|
451
|
+
**只读**查询对端目录:谁在线、谁空闲、谁擅长什么、有多少在途请求。
|
|
452
|
+
|
|
453
|
+
- 参数:`name`(名字子串)|`status`(`online`/`idle`/`busy`/`offline`)|`capability`(能力标签)|`includeOffline`(默认**只给在线**)
|
|
454
|
+
- 返回:名字 / agentId / 在场状态 / 心跳多久前 / 能力标签 / 在途任务数 / 传输方式
|
|
455
|
+
- **为什么要先查**:对端离线时打扰它不合适;多个对端同名时 `message_agent` 会因歧义直接报错 → `list_peers` 会把候选列给你
|
|
456
|
+
|
|
457
|
+
### `message_agent`
|
|
458
|
+
|
|
459
|
+
给另一个正在运行的 agent 会话发消息(跨进程协作)。
|
|
460
|
+
|
|
461
|
+
| 参数 | 类型 | 说明 |
|
|
462
|
+
| --- | --- | --- |
|
|
463
|
+
| `to` | `string`(必填) | 目标 agent 的名字或 agentId |
|
|
464
|
+
| `kind` | `"notify" \| "ask" \| "task" \| "reply" \| "broadcast"` | 消息语义(对方要不要回我),缺省 `notify` |
|
|
465
|
+
| `subject` | `string` | 标题 |
|
|
466
|
+
| `body` | `string`(必填) | 正文 |
|
|
467
|
+
| `intent` | `"wake" \| "interrupt" \| "queue" \| "notify"` | 投递意图(怎么投给对方),缺省 `wake` |
|
|
468
|
+
| `threadId` | `string` | 话题 / 会话 id(可选) |
|
|
469
|
+
|
|
470
|
+
返回 `details.status`,共 8 种,**语义严格区分**:
|
|
471
|
+
|
|
472
|
+
| status | 含义 |
|
|
473
|
+
| --- | --- |
|
|
474
|
+
| `accepted` | **已送达**:对端在线并已接收 |
|
|
475
|
+
| `duplicate` | 对端已处理过这条消息,未重复投递 |
|
|
476
|
+
| `queued` | **已落盘、尚未送达** —— 有两种语义,**都不得**写成「已送达」:① 对端**离线待上线**(消息写入对端邮箱,对方上线后才收到);② 对端**在线但本轮未接收**(原因随附,如对端处理抛错 / 投递失败) |
|
|
477
|
+
| `rejected` | 被拒绝(信封非法 / 参数非法 / 找不到目标 agent) |
|
|
478
|
+
| `expired` | 消息已过期,对方不会再处理 |
|
|
479
|
+
| `error` | 投递失败(写盘失败等) |
|
|
480
|
+
| `unreachable` | 对端不可达(端点不存在或无进程监听) |
|
|
481
|
+
| `timeout` | 等待回执超时(对端未在时限内回执) |
|
|
482
|
+
|
|
483
|
+
> **`queued` 不是「已送达」。** 它有两种语义:**对端离线待上线**(消息落在对端邮箱,对方以**同一 sessionId** 重启后取回)与**对端在线但本轮未投递**(原因随附)。两种情况下对端都**尚未收到**。
|
|
484
|
+
|
|
485
|
+
`kind:"ask"` 时,对端模型回答后会自动回送一条 `kind:"reply"`(携带原 `correlationId`、继承 `threadId`)。
|
|
486
|
+
|
|
487
|
+
同一线程的**往返上限 = 4 轮**(只计**已完成的** reply;未获回答的提问不占额度;投递失败的回信不虚增计数)——
|
|
488
|
+
达到上限后不再回信,并**必须通知请求方**(该通知走 **socket 优先 + 邮箱兜底**:离线请求方**也能收到**——落盘到其邮箱、待其上线后取回;去重粒度=**(线程, 请求方)**,同一线程同一请求方只通知一次;见下方残余限制①)。
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
## 配置
|
|
493
|
+
|
|
494
|
+
配置文件:`<agent-dir>/proactive/config.json`
|
|
495
|
+
(`<agent-dir>` = `$PI_CODING_AGENT_DIR`,未设置时为 `~/.pi/agent`)
|
|
496
|
+
|
|
497
|
+
```json
|
|
498
|
+
{
|
|
499
|
+
"enabled": true,
|
|
500
|
+
"idleDetect": "off",
|
|
501
|
+
"askTimeoutMs": 120000,
|
|
502
|
+
"idleTrigger": {
|
|
503
|
+
"enabled": false,
|
|
504
|
+
"afterMs": 600000,
|
|
505
|
+
"intent": "wake",
|
|
506
|
+
"askUser": false,
|
|
507
|
+
"prompt": ""
|
|
508
|
+
},
|
|
509
|
+
"limits": {
|
|
510
|
+
"minGapMs": 300000,
|
|
511
|
+
"maxPerHour": 6,
|
|
512
|
+
"quietHours": { "from": "22:00", "to": "08:00" }
|
|
513
|
+
},
|
|
514
|
+
"peerWatch": {
|
|
515
|
+
"enabled": false,
|
|
516
|
+
"afterIdleMs": 600000
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
```
|
|
520
|
+
|
|
521
|
+
<!-- BEGIN:GEN config -->
|
|
522
|
+
| 配置键 | 默认值 | 作用 | 定义位置 |
|
|
523
|
+
| --- | --- | --- | --- |
|
|
524
|
+
| `enabled` | `true` | 主动性总开关(关掉则定时投递与空闲触发都不发生)。 | `pi-proactive/src/config.ts:336` |
|
|
525
|
+
| `idleDetect` | `"off"` | 空闲检测档位:terminal(仅 TUI 生效)/ input-only(只靠输入事件刷新基线)/ off(关闭)。 | `pi-proactive/src/config.ts:337` |
|
|
526
|
+
| `askTimeoutMs` | `120000` | 提问等待用户回答的超时(毫秒)。 | `pi-proactive/src/config.ts:338` |
|
|
527
|
+
| `idleTrigger.enabled` | `false` | 空闲触发开关。默认关闭 → 装上插件不会立刻开始打扰。 | `pi-proactive/src/config.ts:340` |
|
|
528
|
+
| `idleTrigger.afterMs` | `600000` | 空闲多久后触发(毫秒)。 | `pi-proactive/src/config.ts:341` |
|
|
529
|
+
| `idleTrigger.intent` | `"wake"` | 空闲触发的投递意图。 | `pi-proactive/src/config.ts:342` |
|
|
530
|
+
| `idleTrigger.askUser` | `未设` | 空闲触发时是否向用户提问。 | `pi-proactive/src/config.ts:432` |
|
|
531
|
+
| `idleTrigger.prompt` | `""` | 空闲触发的提示词。 | `pi-proactive/src/config.ts:343` |
|
|
532
|
+
| `limits.minGapMs` | `300000` | 两次主动触发之间的最短间隔(毫秒,护栏冷却)。 | `pi-proactive/src/config.ts:346` |
|
|
533
|
+
| `limits.maxPerHour` | `6` | 每小时主动触发次数上限。 | `pi-proactive/src/config.ts:347` |
|
|
534
|
+
| `limits.quietHours` | `未设` | 静默时段 {from,to}(HH:MM,from 大于 to 表示跨零点),时段内不主动打扰。 | `pi-proactive/src/config.ts:386` |
|
|
535
|
+
| `peerWatch.enabled` | `false` | 跨会话空闲协作(peer watch)开关。 | `pi-proactive/src/config.ts:351` |
|
|
536
|
+
| `peerWatch.afterIdleMs` | `600000` | 连续空闲多久后才去询问 peer(毫秒)。 | `pi-proactive/src/config.ts:352` |
|
|
537
|
+
| `version` | `"v1"` | 落盘格式版本;无法识别时拒绝按已知格式解析(保留原文件,不覆盖)。 | `pi-proactive/src/config.ts:516` |
|
|
538
|
+
<!-- END:GEN config -->
|
|
539
|
+
|
|
540
|
+
> **配置面真源 = 实现**:上表由 `scripts/gen-doc-tables.sh` 从 `pi-proactive/src/config.ts` 的
|
|
541
|
+
> `defaultConfig()` / `mergeConfig()` / `loadConfig()` **自动生成**,**不要手改**;
|
|
542
|
+
> 键集合、默认值与定义位置都以生成表为准。
|
|
543
|
+
|
|
544
|
+
配置文件缺失或损坏时回退到默认值,不会抛错。
|
|
545
|
+
|
|
546
|
+
运行时产生的状态目录(都在 `<agent-dir>/proactive/` 下):
|
|
547
|
+
|
|
548
|
+
| 路径 | 内容 |
|
|
549
|
+
| --- | --- |
|
|
550
|
+
| `tasks.json` | 任务表(排期任务;每条记录带 `version:"v1"`,版本不识别的文件会被忽略并记日志) |
|
|
551
|
+
| `agents/<agentId>.json` | 在线 agent 注册表(含心跳时间戳) |
|
|
552
|
+
| `run/<agentId>.sock` | Unix domain socket 端点(同机实时通道) |
|
|
553
|
+
| `mailbox/<agentId>/` | 文件邮箱(socket 不可用时的落盘兜底) |
|
|
554
|
+
| `processed/<agentId>/` | 已处理信封与去重集合 `seen.json` 的归档位置 |
|
|
555
|
+
| `mailbox/<agentId>/claimed/`、`expired/`、`corrupt/` | 认领中 / 过期 / 损坏信封的归档位置 |
|
|
556
|
+
|
|
557
|
+
## 配置外置(提示词 / agent 定义)
|
|
558
|
+
|
|
559
|
+
配置里**篇幅会长、要人工编辑**的内容(提示词、agent 角色说明、rubric、模板)改用独立文件维护,
|
|
560
|
+
配置文件只留标量与引用。布尔开关 / 数字阈值 / 短枚举**不要**外置——那只会把「看一眼配置」变成「跳目录猜」。
|
|
561
|
+
|
|
562
|
+
目录约定(相对 `config.json` 所在目录,即 `<agent-dir>/proactive/`):
|
|
563
|
+
|
|
564
|
+
```
|
|
565
|
+
prompts/<ref>.md # 提示词
|
|
566
|
+
agents/<ref>.md # agent 定义
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
引用写法:
|
|
570
|
+
|
|
571
|
+
```json
|
|
572
|
+
{
|
|
573
|
+
"idleTrigger": { "promptRef": "idle-probe" },
|
|
574
|
+
"contentRefs": { "reviewer": { "agentRef": "example-reviewer" } }
|
|
575
|
+
}
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
- `promptRef` → `prompts/<ref>.md`;`agentRef` → `agents/<ref>.md`;
|
|
579
|
+
- 文件可选带 front-matter(`---` 包裹的 `key: value` 块),其余部分是正文;
|
|
580
|
+
- **优先级**:同层仍有内联 `prompt`(旧配置)时**内联优先**,并给一次性提示(ref 不生效);
|
|
581
|
+
- **失败即报错**:文件不存在 / 空文件 / 格式错 / 路径越界(`../`)→ 加载**失败并指名 ref 与路径**,
|
|
582
|
+
**不会**静默回退默认值;
|
|
583
|
+
- 解析后的路径必须留在配置根目录内(越界路径与指向外部的符号链接都拒绝);
|
|
584
|
+
- 内容**单次读入快照**(外部程序同时改文件也不会读到半截内容)。
|
|
585
|
+
|
|
586
|
+
示例:`pi-proactive/agents/example-reviewer.md` —— 复制到 `<agent-dir>/proactive/agents/` 后
|
|
587
|
+
即可被上面的 `agentRef` 引用。
|
|
588
|
+
|
|
589
|
+
> `<agent-dir>/proactive/agents/` 下同时存在**两种**东西:对端注册表 `agents/<agentId>.json`
|
|
590
|
+
> 与外置 agent 定义 `agents/<ref>.md` —— 按扩展名区分,互不覆盖。
|
|
591
|
+
|
|
592
|
+
---
|
|
593
|
+
|
|
594
|
+
## 空闲判定基线(按实测修订)
|
|
595
|
+
|
|
596
|
+
空闲判定现在用**「最近任何活动」**做基线:用户输入 **+ 代理活动**(模型回合起止 / 工具调用 / 助手消息落定)都会把计时归零。
|
|
597
|
+
代理在干活时不再被当成「用户离开了」。
|
|
598
|
+
|
|
599
|
+
- **两条基线**:`lastUserActivityAt`(**只有用户输入**刷新;`idleDetect` 三档的差异只决定用户输入是否计入)+
|
|
600
|
+
「最近任何活动」(判定用)。
|
|
601
|
+
- **触发前必须确认代理已交回控制权**:回合进行中 / 工具链未结束时判定原因为「代理正在忙」,不触发。
|
|
602
|
+
- **插件自己投递的主动消息不刷新任何基线** —— 否则插件会被自己的动作无限推迟下一次触发(自锁)。
|
|
603
|
+
- **阈值维持 10 分钟**(`afterMs=600000`)+ 5 分钟冷却(`minGapMs=300000`)。
|
|
604
|
+
|
|
605
|
+
**实测数字**(日志级测量;同一份会话日志数据集、同一 10 分钟阈值;来源:`pi-proactive/docs/idle-ground-truth.md`):
|
|
606
|
+
|
|
607
|
+
| 配置 | 工作期误触发率 | 漏报率 | 离开覆盖率 | 触发时机正确率 |
|
|
608
|
+
| --- | --- | --- | --- | --- |
|
|
609
|
+
| 旧基线(只算用户输入)+ 冷却 | 20.07% | 55.07% | 44.93% | 20.80% |
|
|
610
|
+
| 新基线(任何事件都刷新)+ 冷却 + 忙碌门控 | **3.01%** | 68.77% | 31.23% | **73.31%** |
|
|
611
|
+
|
|
612
|
+
**表述纪律**:在日志级测量下,工作期误触发率由 **20.07% 降到 3.01%**;这**不等于**「误触发率已消除」。
|
|
613
|
+
|
|
614
|
+
**这份测量不能证明什么**(如实披露):
|
|
615
|
+
|
|
616
|
+
1. 不能证明「用户离开了」—— 只能证明「用户没有交互」;用户可能在读屏幕(与离开在日志里同形)。
|
|
617
|
+
2. 不能证明某个阈值对某个用户 / 场景最优 —— 结论只在「单用户 · 重度 agentic 编码」场景内成立。
|
|
618
|
+
3. 不能证明「打扰率 = 20.07%」等于用户被打扰的真实概率 —— 护栏、频率上限与投递成功率未建模。
|
|
619
|
+
4. 不能证明新基线「一定更好」—— 漏报率从 55.07% 升到 68.77%(更少被叫醒,换更少打错时机)。
|
|
620
|
+
5. 不能评估 `terminal` 档 —— 终端按键在会话日志里不可见。
|
|
621
|
+
6. 不能替代真人实验 —— 这是日志级(实现级 / 测试级)证据,不是现场级证据。
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
## 能力边界与限制(如实披露)
|
|
626
|
+
|
|
627
|
+
- **对端必须加载本插件**,跨会话 / 跨进程协作才成立。对方没装插件 → 消息永远不会被消费。
|
|
628
|
+
- **跨机器只有落盘排队(~1s),没有实时通道。** 同机走 Unix socket 直连;跨机(共享目录 / NFS)
|
|
629
|
+
只能靠文件邮箱轮询,延迟约一个轮询周期(秒级),且不可靠(掉线、过期都可能导致消息不被处理)。
|
|
630
|
+
- **对端正在流式输出时收到 reply,只会多出一个 turn(`turn_start`),不会多出一个新的 `agent_start`。**
|
|
631
|
+
reply 以 `deliverAs:"followUp"` 注入**同一个** agent run;对端**空闲**时收到 reply 才走 `triggerTurn:true` 起新 run,
|
|
632
|
+
那时才出现新的 `agent_start`。按「`agent_start` 计数」判定「被唤起了几轮」的监控 / 验收脚本会因此误判。
|
|
633
|
+
- **跨会话 / 跨进程协作要求双方都加载本插件**。
|
|
634
|
+
- **agentId = `<name>#<host>#<sessionId>`**(`name` = 工作目录 basename,`host` = 主机名,
|
|
635
|
+
`sessionId` = 宿主会话 id):**会话稳定**(同一会话跨进程重启地址不变)、**会话间唯一**
|
|
636
|
+
(不同会话不会互相投递)。宿主未提供会话 id 时**退回 `<name>#<host>#<pid>`**(进程级唯一,
|
|
637
|
+
能力退化但不报错);`PI_PROACTIVE_AGENT_ID` 可显式覆盖。
|
|
638
|
+
- **离线投递**:对端**优雅退出** → 注册表**保留条目**并标 `offline` → 发送方**仍可解析**
|
|
639
|
+
→ 消息**落盘到对方邮箱** → 对方**以同一 sessionId 重启后取回**。只有**从未注册过的纯名字**
|
|
640
|
+
才返回 `error`(无法确定邮箱目录,不得谎称已排队)。
|
|
641
|
+
- **空闲触发默认关闭**(`idleTrigger.enabled=false`),不显式打开前不会打扰用户。
|
|
642
|
+
- **残余限制(如实列出,不掩盖)**:
|
|
643
|
+
① **达线程轮次上限的通知走 socket 优先 + 邮箱兜底** —— 离线请求方**也能收到**(落盘到其邮箱、待其上线后取回),但**不是实时**;去重粒度=**(线程, 请求方)**(同一线程同一请求方只通知一次,不同请求方各自都被交代);
|
|
644
|
+
② **注入标记串会出现在模型可见正文与转录里**(用于精确识别「本插件自己注入的消息」,代价是正文多一串标记);
|
|
645
|
+
③ **旧的 `scope:"session"` 任务(无 `ownerSessionId`)在进程重启后不再匹配** —— 归属退回按 `ownerAgentId` 判定,而旧任务里的 `ownerAgentId` 是旧的 pid 形态、与当前的会话形态 agentId 不一致 → 这些旧任务不再被投递;
|
|
646
|
+
④ **socket 路径过长会退化**(macOS 上限约 104 字符)→ 退化为文件邮箱落盘排队(延迟变大,功能不中断);
|
|
647
|
+
⑤ **注册表条目永不删除** —— 优雅退出只标 `offline` 不删文件 → `agents/` 目录会缓慢积压;
|
|
648
|
+
⑥ **TUI 完整链路(提问 → 回答 → 回填)未验证** —— pty 档只做了部分场景抽验,完整链路未跑通(见 `docs/review/tui-smoke.md` 的 7 项未验证);
|
|
649
|
+
⑦ **跨家族独立复验未做**(本机只有 minimax 一个模型家族);
|
|
650
|
+
⑧ **跨机行为未验证**(仅落盘排队 ~1s);
|
|
651
|
+
⑨ **>10 分钟长时驻留未验证** —— 实测中每个宿主生命周期 ≤ 4 分钟,长驻下的资源 / 孤儿进程 / 内存行为未观测;
|
|
652
|
+
⑩ **`every` 的小时级节拍未验证** —— 短时实测节拍正常,小时级是否漂移未观测;
|
|
653
|
+
⑪ **默认 `/proactive idle on` 只切到 `input-only` 档** —— TUI 下**不订阅终端输入**(`attachTerminalInput` 只在 `terminal` 档调用)→ **敲键本身不刷新空闲基线**(基线只在宿主发出 `input` 事件时刷新);需要按终端输入判定空闲,请把配置 `idleDetect` 设为 `terminal`;
|
|
654
|
+
⑫ **定时投递可能因与主动触发共享冷却而被顺延(最多约 5 分钟)** —— 默认 `minGapMs=300000`(5 分钟),排期任务与主动触发共用同一个冷却闸门(`Guard.check()` 返回 `defer` → 任务的 `dueAt` 顺延);需要准点投递请调小 `minGapMs`。
|
|
655
|
+
- **威胁模型 = 同 UID 可信。** 同 UID 进程之间**没有认证**,信封里的 `from` 是自声明字段 ——
|
|
656
|
+
本插件**不是**安全边界,不要用它防御同机其它进程。
|
|
657
|
+
- **护栏按 agent 作用域计数。** 每个 agent 进程各有一份护栏状态 ⇒ N 个 agent ⇒ N × 单 agent 上限,
|
|
658
|
+
不是全局上界。
|
|
659
|
+
- **适用版本 pi 1.3.0。** 全部宿主 API 断言只对 `@earendil-works/pi-coding-agent` 1.3.0 验证过;
|
|
660
|
+
更高版本未验证。
|
|
661
|
+
- **TUI 档 pty 仅抽验部分场景**(`docs/review/tui-smoke.md`:该报告自述不构成验收结论、并列 **7 项未验证**,其基线早于提问路径重写 → **需重跑才算数**);rpc / json / print
|
|
662
|
+
等非交互模式的降级行为已实测。
|
|
663
|
+
- **跨进程端到端实测(V-03)已完成**(`docs/review/cross-process-e2e.md`:两个真实 Pi 宿主 + 真实模型回合)。
|
|
664
|
+
⚠️ 该基线**早于**「agentId 会话稳定化」与 M5c 修复轮 → **合并态已复测部分场景**(核心闭环与达上限通知,见 `docs/review/final-acceptance.md` §7.5/§8),**原 11 场景在合并态的逐条复测未做**。
|
|
665
|
+
- **协作接线层(M5c)独立验收首轮判「不通过」**,修复轮已合入,**第三轮独立复验已出结论:有条件通过**(S-1~S-8 全关、P-1~P-7 全关;仍有 3 项 Minor 残余与若干未验证项,见 `docs/review/m5c-reverify-3.md`)
|
|
666
|
+
→ 该层**不得**称已验收通过。
|
|
667
|
+
- `/proactive on|off` **已落盘**(原子写 `<agent-dir>/proactive/config.json` 的 `enabled` 字段),**重启后仍生效**;`/proactive idle on|off` **不落盘**,仅当次进程内有效(重启后回到配置文件里的设置)。
|
|
668
|
+
|
|
669
|
+
---
|
|
670
|
+
|
|
671
|
+
## 排障
|
|
672
|
+
|
|
673
|
+
先看插件日志(stderr,日志前缀 `[proactive]`),再看状态:`/proactive status` 会直接给出
|
|
674
|
+
「为什么触发 / 为什么没触发」的判定说明。
|
|
675
|
+
|
|
676
|
+
| 现象 | 排查方向 |
|
|
677
|
+
| --- | --- |
|
|
678
|
+
| **任务没触发** | ① `/proactive status` 看 `enabled` 是否为「已开启」——`off` 时定时投递与空闲触发**都不发生**;② 看「下次空闲触发 / 限制」行确认是否被冷却(`minGapMs`)、每小时上限(`maxPerHour`)、静默时段挡下;③ 确认任务在 `/proactive tasks` 里且 `enabled=true`;④ 任务归属是 `scope=session`,由**会话 id** 判定(会话 id 跨进程重启稳定);若宿主未提供 session id,则退回按进程归属兜底 —— 这种情况下进程重启后旧任务不再归新进程所有 |
|
|
679
|
+
| **消息一直 `queued`** | `queued` = **已落盘、尚未送达**,两种语义:① **对端离线待上线** —— 查 `<agent-dir>/proactive/mailbox/<对方 agentId>/` 是否有文件;对方**以同一 sessionId 重启**后会自动取回(agentId 会话稳定 → 邮箱路径不变);若对端**从未注册过**(纯名字)则直接 `error`。② **对端在线但本轮未接收** —— 回执附原因(对端处理抛错 / 投递失败),消息同样落在对方邮箱待重试。两种都**不是**「已送达」 |
|
|
680
|
+
| **空闲不触发** | ① 空闲触发默认是关的 → `/proactive idle on`(不落盘,仅当次进程内有效)或改配置 `idleTrigger.enabled=true`;② `idleDetect` 默认是 `off`,没有输入信号时不会猜你在不在 → 设成 `terminal`(仅 TUI)或 `input-only`;③ 非 TUI 模式下 `terminal` 会自动降级为 `input-only`;④ 确认不是「代理正在忙」(`busy`)或没到阈值(`threshold`) |
|
|
681
|
+
| **对端找不到** | `message_agent` 的 `to` 按 **agentId 精确匹配 → 名字唯一匹配 → 前缀唯一匹配** 解析(同名 / 前缀命中多个会直接报错);**离线条目同样可解析**(优雅退出保留条目并标 `offline`,心跳过期=崩溃也可解析)→ 消息落盘待其上线;只有**从未注册过的纯名字**才 `error`。注册表条目靠 30s 心跳刷新,超过 3 个心跳周期未刷新即视为离线 |
|
|
682
|
+
| **socket 起不来** | 端点被占用(另一个进程还在)时会**降级为文件邮箱**并继续工作,日志里会有 `socket 通道启动失败(降级为文件邮箱)`;功能不中断,只是延迟变大 |
|
|
683
|
+
|
|
684
|
+
团队级排障与看门狗告警语义见 `docs/team/WATCHDOG-RUNBOOK.md`(告警类别与处置责任人)、
|
|
685
|
+
未验证项台账见 `docs/team/iteration-backlog.md`。
|
|
686
|
+
|
|
687
|
+
---
|
|
688
|
+
|
|
689
|
+
## 里程碑边界
|
|
690
|
+
|
|
691
|
+
| 里程碑 | 内容 | 状态 |
|
|
692
|
+
| --- | --- | --- |
|
|
693
|
+
| M1 | 包骨架、`/proactive` 命令、工具接口、1s tick 与状态栏 | 已实现 |
|
|
694
|
+
| M2 | 空闲触发、投递与护栏闭环 | 已实现 |
|
|
695
|
+
| M3 | 任务落盘与调度 | 已实现 |
|
|
696
|
+
| M4 | 跨进程协作(注册表 / socket / 邮箱 / 去重 / 接线) | 已实现(测试级验证);V-03 核心闭环已合并态复测 |
|
|
697
|
+
| M5 | 协作闭环(逐条 reply / 线程 / 轮次上限) | 已实现(测试级验证);V-03 核心闭环已合并态复测 |
|
|
698
|
+
| M6 | 分发与文档(README / 包元数据 / 版本约束) | 已实现 |
|
|
699
|
+
| 跨进程端到端实测(V-03) | 两个真实 Pi 宿主跑通全链路 | **已完成**(`docs/review/cross-process-e2e.md`);⚠️ 基线早于「agentId 会话稳定化」与 M5c 修复轮 → **合并态已复测部分场景**(核心闭环与达上限通知),**原 11 场景在合并态的逐条复测未做** |
|
|
700
|
+
| TUI 交互语义 | 真人按键下验证主动提问 | **pty 仅抽验部分场景**(`docs/review/tui-smoke.md`;7 项未验证,基线早于提问路径重写,需重跑才算数) |
|
|
701
|
+
| 跨家族独立复验 | 异族模型家族独立复审 | **未验证**(本机只有 minimax 一个模型家族) |
|
|
702
|
+
| 跨机行为 | 两机 / NFS 实测 | **未验证**(仅落盘排队 ~1s) |
|
|
703
|
+
| TUI 完整链路(提问→回答→回填) | pty 下的端到端提问闭环 | **未验证**(pty 档只抽验了部分场景;7 项未验证,需重跑才算数) |
|
|
704
|
+
| 长时驻留(>10 分钟) | 长时间运行下的资源 / 孤儿进程 / 内存行为 | **未验证**(实测每个宿主生命周期 ≤ 4 分钟) |
|
|
705
|
+
| `every` 小时级节拍 | 小时级运行下的节拍漂移是否累积 | **未验证**(短时实测节拍正常) |
|
|
706
|
+
| 门禁 G11(文档↔实现一致性断言) | 机器化的文档↔实现一致性门禁 | **已存在**(判据在 `scripts/merge-gate.sh` 的 G11 段,默认零容忍;含**反向断言**:文档的否定式声明若指向仓库里已存在的对象 → 判为违规;回归自测在 `scripts/tests/gate-doc-consistency.test.sh`) |
|