@astrofoundry/pi-astro 0.14.5 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -23
- package/{extensions/astro-agents/agents → agents}/code-reviewer.md +11 -12
- package/{extensions/astro-agents/agents → agents}/google-tech-lead.md +10 -11
- package/{extensions/astro-agents/agents → agents}/spec-writer.md +13 -14
- package/{extensions/astro-agents/agents → agents}/tester-api.md +19 -20
- package/{extensions/astro-agents/agents → agents}/tester-ui.md +23 -24
- package/{extensions/astro-agents/agents → agents}/ui-architect.md +18 -19
- package/{extensions/astro-agents/agents → agents}/ui-design-system.md +29 -30
- package/{extensions/astro-agents/agents → agents}/ui-frontend-developer.md +22 -23
- package/extensions/astro-agents-loader/index.test.ts +102 -0
- package/extensions/astro-agents-loader/index.ts +48 -0
- package/extensions/astro-agents-loader/sync.test.ts +111 -0
- package/extensions/astro-agents-loader/sync.ts +86 -0
- package/extensions/astro-footer/README.md +4 -9
- package/extensions/astro-footer/icons.ts +0 -3
- package/extensions/astro-footer/index.test.ts +0 -23
- package/extensions/astro-footer/index.ts +2 -14
- package/extensions/astro-footer/segments.test.ts +0 -10
- package/extensions/astro-footer/segments.ts +0 -5
- package/extensions/astro-welcome/art.ansi +15 -18
- package/extensions/astro-welcome/compose.ts +40 -30
- package/node_modules/jiti/LICENSE +21 -0
- package/node_modules/jiti/README.md +258 -0
- package/node_modules/jiti/dist/babel.cjs +257 -0
- package/node_modules/jiti/dist/jiti.cjs +1 -0
- package/node_modules/jiti/lib/jiti-cli.mjs +34 -0
- package/node_modules/jiti/lib/jiti-hooks.mjs +124 -0
- package/node_modules/jiti/lib/jiti-native.mjs +121 -0
- package/node_modules/jiti/lib/jiti-register.d.mts +1 -0
- package/node_modules/jiti/lib/jiti-register.mjs +4 -0
- package/node_modules/jiti/lib/jiti-static.mjs +23 -0
- package/node_modules/jiti/lib/jiti.cjs +30 -0
- package/node_modules/jiti/lib/jiti.d.cts +8 -0
- package/node_modules/jiti/lib/jiti.d.mts +8 -0
- package/node_modules/jiti/lib/jiti.mjs +29 -0
- package/node_modules/jiti/lib/types.d.ts +420 -0
- package/node_modules/jiti/package.json +146 -0
- package/node_modules/pi-subagents/CHANGELOG.md +1006 -0
- package/node_modules/pi-subagents/README.md +985 -0
- package/node_modules/pi-subagents/agents/context-builder.md +46 -0
- package/node_modules/pi-subagents/agents/delegate.md +12 -0
- package/node_modules/pi-subagents/agents/oracle.md +73 -0
- package/node_modules/pi-subagents/agents/planner.md +55 -0
- package/node_modules/pi-subagents/agents/researcher.md +52 -0
- package/node_modules/pi-subagents/agents/reviewer.md +79 -0
- package/node_modules/pi-subagents/agents/scout.md +50 -0
- package/node_modules/pi-subagents/agents/worker.md +55 -0
- package/node_modules/pi-subagents/install.mjs +92 -0
- package/node_modules/pi-subagents/package.json +84 -0
- package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +13 -0
- package/node_modules/pi-subagents/prompts/parallel-cleanup.md +59 -0
- package/node_modules/pi-subagents/prompts/parallel-context-build.md +53 -0
- package/node_modules/pi-subagents/prompts/parallel-handoff-plan.md +59 -0
- package/node_modules/pi-subagents/prompts/parallel-research.md +50 -0
- package/node_modules/pi-subagents/prompts/parallel-review.md +54 -0
- package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +747 -0
- package/node_modules/pi-subagents/src/agents/agent-management.ts +643 -0
- package/node_modules/pi-subagents/src/agents/agent-scope.ts +6 -0
- package/node_modules/pi-subagents/src/agents/agent-selection.ts +23 -0
- package/node_modules/pi-subagents/src/agents/agent-serializer.ts +84 -0
- package/node_modules/pi-subagents/src/agents/agents.ts +808 -0
- package/node_modules/pi-subagents/src/agents/chain-serializer.ts +137 -0
- package/node_modules/pi-subagents/src/agents/frontmatter.ts +29 -0
- package/node_modules/pi-subagents/src/agents/identity.ts +30 -0
- package/node_modules/pi-subagents/src/agents/skills.ts +630 -0
- package/node_modules/pi-subagents/src/extension/control-notices.ts +92 -0
- package/node_modules/pi-subagents/src/extension/doctor.ts +199 -0
- package/node_modules/pi-subagents/src/extension/index.ts +585 -0
- package/node_modules/pi-subagents/src/extension/schemas.ts +168 -0
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.ts +378 -0
- package/node_modules/pi-subagents/src/intercom/result-intercom.ts +269 -0
- package/node_modules/pi-subagents/src/runs/background/async-execution.ts +604 -0
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.ts +267 -0
- package/node_modules/pi-subagents/src/runs/background/async-resume.ts +332 -0
- package/node_modules/pi-subagents/src/runs/background/async-status.ts +292 -0
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.ts +63 -0
- package/node_modules/pi-subagents/src/runs/background/notify.ts +108 -0
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.ts +45 -0
- package/node_modules/pi-subagents/src/runs/background/result-watcher.ts +250 -0
- package/node_modules/pi-subagents/src/runs/background/run-status.ts +190 -0
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.ts +291 -0
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.ts +1744 -0
- package/node_modules/pi-subagents/src/runs/background/top-level-async.ts +13 -0
- package/node_modules/pi-subagents/src/runs/foreground/chain-clarify.ts +1333 -0
- package/node_modules/pi-subagents/src/runs/foreground/chain-execution.ts +932 -0
- package/node_modules/pi-subagents/src/runs/foreground/execution.ts +902 -0
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.ts +2232 -0
- package/node_modules/pi-subagents/src/runs/shared/completion-guard.ts +125 -0
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.ts +175 -0
- package/node_modules/pi-subagents/src/runs/shared/model-fallback.ts +103 -0
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.ts +107 -0
- package/node_modules/pi-subagents/src/runs/shared/pi-args.ts +158 -0
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.ts +115 -0
- package/node_modules/pi-subagents/src/runs/shared/run-history.ts +55 -0
- package/node_modules/pi-subagents/src/runs/shared/single-output.ts +154 -0
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.ts +226 -0
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.ts +150 -0
- package/node_modules/pi-subagents/src/runs/shared/worktree.ts +577 -0
- package/node_modules/pi-subagents/src/shared/artifacts.ts +98 -0
- package/node_modules/pi-subagents/src/shared/atomic-json.ts +16 -0
- package/node_modules/pi-subagents/src/shared/file-coalescer.ts +40 -0
- package/node_modules/pi-subagents/src/shared/fork-context.ts +76 -0
- package/node_modules/pi-subagents/src/shared/formatters.ts +120 -0
- package/node_modules/pi-subagents/src/shared/jsonl-writer.ts +81 -0
- package/node_modules/pi-subagents/src/shared/model-info.ts +68 -0
- package/node_modules/pi-subagents/src/shared/post-exit-stdio-guard.ts +85 -0
- package/node_modules/pi-subagents/src/shared/session-identity.ts +10 -0
- package/node_modules/pi-subagents/src/shared/session-tokens.ts +44 -0
- package/node_modules/pi-subagents/src/shared/settings.ts +397 -0
- package/node_modules/pi-subagents/src/shared/status-format.ts +49 -0
- package/node_modules/pi-subagents/src/shared/types.ts +726 -0
- package/node_modules/pi-subagents/src/shared/utils.ts +440 -0
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.ts +397 -0
- package/node_modules/pi-subagents/src/slash/slash-bridge.ts +174 -0
- package/node_modules/pi-subagents/src/slash/slash-commands.ts +528 -0
- package/node_modules/pi-subagents/src/slash/slash-live-state.ts +292 -0
- package/node_modules/pi-subagents/src/tui/render-helpers.ts +80 -0
- package/node_modules/pi-subagents/src/tui/render.ts +1248 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/typebox/build/guard/emit.mjs +194 -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 +69 -0
- package/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +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 +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -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 +41 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -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 +41 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +32 -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/_optional.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
- package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
- package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +15 -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 +13 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +12 -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 +27 -0
- package/node_modules/typebox/build/type/action/index.mjs +27 -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 +14 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
- package/node_modules/typebox/build/type/action/module.d.mts +12 -0
- package/node_modules/typebox/build/type/action/module.mjs +12 -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/options.d.mts +11 -0
- package/node_modules/typebox/build/type/action/options.mjs +11 -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 +16 -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/engine/awaited/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -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 +15 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -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 +20 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -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/enum_to_union.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -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 +16 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -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 +11 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -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/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_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 +17 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -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 +15 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -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 +165 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -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 +18 -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 +15 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -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 +16 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -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 +21 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -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_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 +14 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -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/options/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.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 +15 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -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_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -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 +12 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -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/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_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -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 +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -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_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -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 +12 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -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 +9 -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 +19 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -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/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/async_iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -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/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +6 -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 +55 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/iterator.mjs +9 -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 +25 -0
- package/node_modules/typebox/build/type/extends/object.mjs +87 -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/promise.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/promise.mjs +9 -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 +25 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +60 -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 +365 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
- package/node_modules/typebox/build/type/script/parser.mjs +135 -0
- package/node_modules/typebox/build/type/script/script.d.mts +17 -0
- package/node_modules/typebox/build/type/script/script.mjs +21 -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 +61 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +37 -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/async_iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/typebox/build/type/types/base.mjs +84 -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 +22 -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 +12 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/typebox/build/type/types/enum.mjs +17 -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 +48 -0
- package/node_modules/typebox/build/type/types/index.mjs +54 -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/iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/iterator.mjs +28 -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/promise.d.mts +21 -0
- package/node_modules/typebox/build/type/types/promise.mjs +29 -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 +46 -0
- package/node_modules/typebox/build/type/types/record.mjs +60 -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 +48 -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 +73 -0
- package/node_modules/typebox/build/typebox.mjs +89 -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 +15 -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_base.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_base.mjs +4 -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 +23 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +83 -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 +50 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +38 -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 +45 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +44 -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 +35 -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 +40 -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_base.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_base.mjs +4 -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 +7 -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 +7 -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 +45 -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_async_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +4 -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_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -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_promise.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +5 -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 +69 -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_base.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_base.mjs +5 -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 +27 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -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 +86 -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 +3 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -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 +16 -0
- package/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +356 -0
- package/package.json +14 -6
- package/extensions/astro-agents/discovery.test.ts +0 -152
- package/extensions/astro-agents/discovery.ts +0 -115
- package/extensions/astro-agents/index.test.ts +0 -214
- package/extensions/astro-agents/index.ts +0 -156
- package/extensions/astro-agents/spawn.test.ts +0 -315
- package/extensions/astro-agents/spawn.ts +0 -201
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as fs from "node:fs";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
|
|
4
|
+
export interface SyncOptions {
|
|
5
|
+
sourceDir: string;
|
|
6
|
+
targetDir: string;
|
|
7
|
+
namespace: string;
|
|
8
|
+
onWarn?: (message: string) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface SyncResult {
|
|
12
|
+
written: string[];
|
|
13
|
+
pruned: string[];
|
|
14
|
+
skipped: string[];
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function syncBundledAgents(options: SyncOptions): SyncResult {
|
|
18
|
+
const { sourceDir, targetDir, namespace, onWarn } = options;
|
|
19
|
+
const prefix = `${namespace}.`;
|
|
20
|
+
const written: string[] = [];
|
|
21
|
+
const pruned: string[] = [];
|
|
22
|
+
const skipped: string[] = [];
|
|
23
|
+
|
|
24
|
+
fs.mkdirSync(targetDir, { recursive: true });
|
|
25
|
+
|
|
26
|
+
const sourceFiles = listMarkdownFiles(sourceDir);
|
|
27
|
+
const intendedTargets = new Set<string>();
|
|
28
|
+
|
|
29
|
+
for (const sourcePath of sourceFiles) {
|
|
30
|
+
const targetName = `${prefix}${path.basename(sourcePath)}`;
|
|
31
|
+
const targetPath = path.join(targetDir, targetName);
|
|
32
|
+
intendedTargets.add(targetName);
|
|
33
|
+
|
|
34
|
+
const sourceContent = fs.readFileSync(sourcePath, "utf8");
|
|
35
|
+
const stats = lstatOrNull(targetPath);
|
|
36
|
+
|
|
37
|
+
if (stats !== null && !stats.isFile() && !stats.isSymbolicLink()) {
|
|
38
|
+
onWarn?.(
|
|
39
|
+
`astro-agents-loader: ${targetPath} exists and is not a regular file; skipping.`,
|
|
40
|
+
);
|
|
41
|
+
skipped.push(targetName);
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (stats?.isFile() && fs.readFileSync(targetPath, "utf8") === sourceContent) {
|
|
46
|
+
continue;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
fs.writeFileSync(targetPath, sourceContent, "utf8");
|
|
50
|
+
written.push(targetName);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
for (const entry of safeReaddir(targetDir)) {
|
|
54
|
+
if (!entry.startsWith(prefix)) continue;
|
|
55
|
+
if (intendedTargets.has(entry)) continue;
|
|
56
|
+
fs.unlinkSync(path.join(targetDir, entry));
|
|
57
|
+
pruned.push(entry);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return { written, pruned, skipped };
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
function listMarkdownFiles(dir: string): string[] {
|
|
64
|
+
if (!fs.existsSync(dir)) return [];
|
|
65
|
+
return fs
|
|
66
|
+
.readdirSync(dir, { withFileTypes: true })
|
|
67
|
+
.filter((entry) => entry.isFile() && entry.name.endsWith(".md"))
|
|
68
|
+
.map((entry) => path.join(dir, entry.name))
|
|
69
|
+
.sort();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function safeReaddir(dir: string): string[] {
|
|
73
|
+
try {
|
|
74
|
+
return fs.readdirSync(dir);
|
|
75
|
+
} catch {
|
|
76
|
+
return [];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function lstatOrNull(p: string): fs.Stats | null {
|
|
81
|
+
try {
|
|
82
|
+
return fs.lstatSync(p);
|
|
83
|
+
} catch {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -4,7 +4,7 @@ Two-line footer for the [pi coding agent](https://github.com/badlogic/pi-mono).
|
|
|
4
4
|
|
|
5
5
|
```
|
|
6
6
|
π | ◈ MoonshotAI: Kimi K2.6 | ? think:high | dir pi-astro | git main +2 *3 ?1 ↑1.2k ↓567 | $ $0.05 | ◫ 25.0%/256k AC
|
|
7
|
-
|
|
7
|
+
t 12m34s | name before-rewrite | cR 8.5k cW 2.1k | 🪨 caveman:full
|
|
8
8
|
```
|
|
9
9
|
|
|
10
10
|
Ships as part of [`@astrofoundry/pi-astro`](../../README.md). No extra install. Auto-activates on every pi session.
|
|
@@ -21,14 +21,13 @@ Ships as part of [`@astrofoundry/pi-astro`](../../README.md). No extra install.
|
|
|
21
21
|
| **path** | Current working directory (`basename` by default) |
|
|
22
22
|
| **git** | Current branch + `+N` staged, `*N` unstaged, `?N` untracked. Branch turns yellow when dirty. |
|
|
23
23
|
| **tokens** | `↑input ↓output` for the session |
|
|
24
|
-
| **cost** | Cumulative cost
|
|
24
|
+
| **cost** | Cumulative cost - `$0.05` paid models, `(sub)` when the active model is OAuth-authed (Claude Pro / Codex Pro etc.) |
|
|
25
25
|
| **context** | `<percent>%/<total>` with `AC` suffix when auto-compaction is enabled. Yellow ≥ 70%, red ≥ 90%. |
|
|
26
26
|
|
|
27
27
|
### Row 2 (only when populated)
|
|
28
28
|
|
|
29
29
|
| Segment | Value |
|
|
30
30
|
|---|---|
|
|
31
|
-
| **subagents** | Count of in-flight `astro_agent` invocations |
|
|
32
31
|
| **session time** | Time since session start (only after 1 minute) |
|
|
33
32
|
| **session name** | Custom name set via `/name <text>` |
|
|
34
33
|
| **cache** | `cR <read> cW <write>` prompt-cache totals |
|
|
@@ -63,14 +62,10 @@ ASTRO_FOOTER_PATH=full # full home-tilded path (e.g. ~/wb/github/astrofo
|
|
|
63
62
|
|
|
64
63
|
The cost segment shows `(sub)` instead of `$X.XX` when:
|
|
65
64
|
|
|
66
|
-
- `ctx.modelRegistry.isUsingOAuth(model)` returns true
|
|
65
|
+
- `ctx.modelRegistry.isUsingOAuth(model)` returns true - i.e. you're authed via OAuth (Claude / Codex Pro flow), so per-token cost is covered by the subscription.
|
|
67
66
|
|
|
68
67
|
Pi-tracked dollar costs would otherwise mislead you into thinking the call had a real bill.
|
|
69
68
|
|
|
70
|
-
## Subagent count
|
|
71
|
-
|
|
72
|
-
When the `astro-agents` extension's `astro_agent` tool is running, it publishes the in-flight count via `ctx.ui.setStatus("subagents", N)`. astro-footer reads this and surfaces it as the `agents N` segment on row 2. To run multiple subagents concurrently, ask the LLM to fire several `astro_agent` calls in one assistant message — pi runs tool calls in parallel within a turn.
|
|
73
|
-
|
|
74
69
|
## Git ± counts
|
|
75
70
|
|
|
76
71
|
astro-footer runs `git status --porcelain` async with a 750 ms cooldown. It refreshes:
|
|
@@ -82,4 +77,4 @@ Heavy enough to surface uncommitted-work signal, light enough to never block ren
|
|
|
82
77
|
|
|
83
78
|
## Extension-status pass-through
|
|
84
79
|
|
|
85
|
-
Any extension that calls `ctx.ui.setStatus(key, text)` automatically appears on row 2 in muted colour.
|
|
80
|
+
Any extension that calls `ctx.ui.setStatus(key, text)` automatically appears on row 2 in muted colour.
|
|
@@ -9,7 +9,6 @@ export interface IconSet {
|
|
|
9
9
|
cost: string;
|
|
10
10
|
context: string;
|
|
11
11
|
autoCompact: string;
|
|
12
|
-
subagents: string;
|
|
13
12
|
sessionTime: string;
|
|
14
13
|
sessionName: string;
|
|
15
14
|
cacheRead: string;
|
|
@@ -28,7 +27,6 @@ const NERD: IconSet = {
|
|
|
28
27
|
cost: "",
|
|
29
28
|
context: "◫",
|
|
30
29
|
autoCompact: "AC",
|
|
31
|
-
subagents: "",
|
|
32
30
|
sessionTime: "",
|
|
33
31
|
sessionName: "",
|
|
34
32
|
cacheRead: "cR",
|
|
@@ -47,7 +45,6 @@ const ASCII: IconSet = {
|
|
|
47
45
|
cost: "$",
|
|
48
46
|
context: "◫",
|
|
49
47
|
autoCompact: "AC",
|
|
50
|
-
subagents: "agents",
|
|
51
48
|
sessionTime: "t",
|
|
52
49
|
sessionName: "name",
|
|
53
50
|
cacheRead: "cR",
|
|
@@ -311,29 +311,6 @@ describe("astro-footer extension", () => {
|
|
|
311
311
|
component.dispose?.();
|
|
312
312
|
});
|
|
313
313
|
|
|
314
|
-
it("subagent count from extension status appears on row 2 and is excluded from generic statuses", async () => {
|
|
315
|
-
process.env.ASTRO_FOOTER_NERD_FONTS = "0";
|
|
316
|
-
const { pi } = await install();
|
|
317
|
-
const ctx = makeCtx();
|
|
318
|
-
await pi.handlers.session_start({}, ctx);
|
|
319
|
-
const fakeFooterData = {
|
|
320
|
-
...fakeFooterDataDefault,
|
|
321
|
-
getExtensionStatuses: () =>
|
|
322
|
-
new Map([
|
|
323
|
-
["subagents", "2"],
|
|
324
|
-
["caveman", "🪨 caveman:full"],
|
|
325
|
-
]),
|
|
326
|
-
};
|
|
327
|
-
const component = getFactory(ctx)({ requestRender: () => {} }, fakeTheme, fakeFooterData);
|
|
328
|
-
const lines = component.render(200);
|
|
329
|
-
expect(lines.length).toBe(2);
|
|
330
|
-
const row2 = lines[1];
|
|
331
|
-
expect(row2).toContain("2");
|
|
332
|
-
expect(row2).toContain("🪨 caveman:full");
|
|
333
|
-
expect(row2).not.toMatch(/\bsubagents\s*:\s*2\b/);
|
|
334
|
-
component.dispose?.();
|
|
335
|
-
});
|
|
336
|
-
|
|
337
314
|
it("session name shows on row 2 when set", async () => {
|
|
338
315
|
process.env.ASTRO_FOOTER_NERD_FONTS = "0";
|
|
339
316
|
const { pi } = await install("before-rewrite");
|
|
@@ -21,13 +21,11 @@ import {
|
|
|
21
21
|
renderPi,
|
|
22
22
|
renderSessionName,
|
|
23
23
|
renderSessionTime,
|
|
24
|
-
renderSubagents,
|
|
25
24
|
renderThinking,
|
|
26
25
|
renderTokens,
|
|
27
26
|
type ThemeFn,
|
|
28
27
|
} from "./segments.ts";
|
|
29
28
|
|
|
30
|
-
const SUBAGENT_STATUS_KEY = "subagents";
|
|
31
29
|
const LAST_PROMPT_WIDGET_KEY = "astro-footer-last-prompt";
|
|
32
30
|
|
|
33
31
|
function renderLastPromptLine(theme: Theme, lastPrompt: string, width: number): string[] {
|
|
@@ -75,13 +73,6 @@ function collectUsage(ctx: ExtensionContext): UsageTotals {
|
|
|
75
73
|
return totals;
|
|
76
74
|
}
|
|
77
75
|
|
|
78
|
-
function readSubagentCount(footerData: ReadonlyFooterDataProvider): number {
|
|
79
|
-
const value = footerData.getExtensionStatuses().get(SUBAGENT_STATUS_KEY);
|
|
80
|
-
if (!value) return 0;
|
|
81
|
-
const parsed = Number.parseInt(value, 10);
|
|
82
|
-
return Number.isFinite(parsed) && parsed > 0 ? parsed : 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
76
|
function buildLines(
|
|
86
77
|
theme: ThemeFn,
|
|
87
78
|
icons: IconSet,
|
|
@@ -100,7 +91,6 @@ function buildLines(
|
|
|
100
91
|
const branch = footerData.getGitBranch();
|
|
101
92
|
const gitCounts = gitTracker.get();
|
|
102
93
|
const statuses = footerData.getExtensionStatuses();
|
|
103
|
-
const subagentCount = readSubagentCount(footerData);
|
|
104
94
|
const sessionName = pi.getSessionName();
|
|
105
95
|
const usingSubscription =
|
|
106
96
|
ctx.model !== undefined && ctx.modelRegistry.isUsingOAuth(ctx.model) && usage.totalTurns > 0;
|
|
@@ -134,8 +124,6 @@ function buildLines(
|
|
|
134
124
|
if (contextSegment) row1Right.push(contextSegment);
|
|
135
125
|
|
|
136
126
|
const row2Items: string[] = [];
|
|
137
|
-
const subagentSegment = renderSubagents(theme, icons, subagentCount);
|
|
138
|
-
if (subagentSegment) row2Items.push(subagentSegment);
|
|
139
127
|
const elapsedMs = Math.max(0, Date.now() - sessionStartedAt);
|
|
140
128
|
const sessionTimeSegment = renderSessionTime(theme, icons, elapsedMs);
|
|
141
129
|
if (sessionTimeSegment) row2Items.push(sessionTimeSegment);
|
|
@@ -143,8 +131,8 @@ function buildLines(
|
|
|
143
131
|
if (sessionNameSegment) row2Items.push(sessionNameSegment);
|
|
144
132
|
const cacheSegment = renderCache(theme, icons, usage.cacheRead, usage.cacheWrite);
|
|
145
133
|
if (cacheSegment) row2Items.push(cacheSegment);
|
|
146
|
-
for (const [
|
|
147
|
-
if (!value
|
|
134
|
+
for (const [, value] of statuses) {
|
|
135
|
+
if (!value) continue;
|
|
148
136
|
row2Items.push(renderExtensionStatus(theme, value));
|
|
149
137
|
}
|
|
150
138
|
|
|
@@ -12,7 +12,6 @@ import {
|
|
|
12
12
|
renderPi,
|
|
13
13
|
renderSessionName,
|
|
14
14
|
renderSessionTime,
|
|
15
|
-
renderSubagents,
|
|
16
15
|
renderThinking,
|
|
17
16
|
renderTokens,
|
|
18
17
|
type ThemeFn,
|
|
@@ -162,15 +161,6 @@ describe("segments", () => {
|
|
|
162
161
|
expect(out).not.toContain("25.0%/");
|
|
163
162
|
});
|
|
164
163
|
|
|
165
|
-
it("renderSubagents hides when count is 0", () => {
|
|
166
|
-
expect(renderSubagents(fakeTheme, ICONS, 0)).toBeNull();
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
it("renderSubagents shows the count in accent colour", () => {
|
|
170
|
-
const out = renderSubagents(fakeTheme, ICONS, 3);
|
|
171
|
-
expect(out).toContain("<accent>3</accent>");
|
|
172
|
-
});
|
|
173
|
-
|
|
174
164
|
it("renderSessionTime hides under 60 seconds", () => {
|
|
175
165
|
expect(renderSessionTime(fakeTheme, ICONS, 0)).toBeNull();
|
|
176
166
|
expect(renderSessionTime(fakeTheme, ICONS, 30_000)).toBeNull();
|
|
@@ -111,11 +111,6 @@ export function renderContext(theme: ThemeFn, icons: IconSet, input: ContextSegm
|
|
|
111
111
|
return `${theme.fg(role, icons.context)} ${theme.fg(role, value)}${ac}`;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
export function renderSubagents(theme: ThemeFn, icons: IconSet, count: number): string | null {
|
|
115
|
-
if (count <= 0) return null;
|
|
116
|
-
return `${theme.fg("muted", icons.subagents)} ${theme.fg("accent", `${count}`)}`.trim();
|
|
117
|
-
}
|
|
118
|
-
|
|
119
114
|
const SESSION_TIME_MIN_MS = 60_000;
|
|
120
115
|
|
|
121
116
|
export function renderSessionTime(theme: ThemeFn, icons: IconSet, ms: number): string | null {
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
[38;2;1;
|
|
2
|
-
[38;2;1;
|
|
3
|
-
[38;2;1;2;1m[48;2;
|
|
4
|
-
[38;2;1;
|
|
5
|
-
[38;2;
|
|
6
|
-
[38;2;
|
|
7
|
-
[38;2;
|
|
8
|
-
[38;2;
|
|
9
|
-
[38;2;
|
|
10
|
-
[38;2;
|
|
11
|
-
[38;2;1;2;1m[48;2;
|
|
12
|
-
[38;2;
|
|
13
|
-
[38;2;
|
|
14
|
-
[38;2;0;
|
|
15
|
-
[38;2;
|
|
16
|
-
[38;2;3;4;1m[48;2;0;1;0m▀[38;2;0;0;0m[48;2;2;5;13m▀[38;2;103;86;37m[48;2;197;174;72m▀[38;2;208;160;14m[48;2;218;174;1m▀[38;2;255;199;0m[48;2;201;164;10m▀[38;2;255;204;0m[48;2;254;208;4m▀[38;2;184;137;13m[48;2;255;206;0m▀[38;2;27;50;105m[48;2;164;117;8m▀[38;2;72;70;64m[48;2;138;105;23m▀[38;2;255;206;0m[48;2;255;210;0m▀[38;2;203;164;9m[48;2;176;142;11m▀[38;2;245;197;4m[48;2;216;173;6m▀[38;2;255;215;0m[48;2;255;219;0m▀[38;2;143;125;39m[48;2;175;146;23m▀[38;2;0;22;163m[48;2;50;64;90m▀[38;2;0;40;158m[48;2;66;76;87m▀[38;2;0;33;156m[48;2;65;76;88m▀[38;2;0;38;157m[48;2;60;71;86m▀[38;2;45;84;192m[48;2;68;79;93m▀[38;2;183;162;69m[48;2;116;115;100m▀[38;2;111;111;84m[48;2;104;99;64m▀[38;2;0;9;175m[48;2;45;61;94m▀[38;2;144;125;40m[48;2;174;145;24m▀[38;2;255;216;0m[48;2;255;219;0m▀[38;2;246;199;4m[48;2;216;175;7m▀[38;2;202;164;8m[48;2;177;143;10m▀[38;2;255;206;0m[48;2;255;210;0m▀[38;2;75;71;62m[48;2;141;108;23m▀[38;2;26;49;104m[48;2;162;116;8m▀[38;2;183;136;14m[48;2;255;205;0m▀[38;2;255;203;0m[48;2;254;208;5m▀[38;2;255;199;0m[48;2;202;165;10m▀[38;2;207;160;12m[48;2;217;174;1m▀[38;2;106;88;37m[48;2;199;175;70m▀[38;2;0;0;0m[48;2;3;6;14m▀[38;2;2;3;1m[48;2;0;0;0m▀[0m
|
|
17
|
-
[38;2;0;0;0m[48;2;0;0;0m▀[38;2;28;31;34m[48;2;66;65;55m▀[38;2;252;216;71m[48;2;255;230;53m▀[38;2;246;194;0m[48;2;226;179;0m▀[38;2;204;163;10m[48;2;214;173;8m▀[38;2;255;209;2m[48;2;255;211;1m▀[38;2;244;188;3m[48;2;242;183;2m▀[38;2;188;133;7m[48;2;196;138;5m▀[38;2;204;147;4m[48;2;161;117;9m▀[38;2;182;144;11m[48;2;199;158;9m▀[38;2;188;151;10m[48;2;190;154;10m▀[38;2;207;166;8m[48;2;210;169;8m▀[38;2;212;170;7m[48;2;189;151;9m▀[38;2;255;205;0m[48;2;171;129;10m▀[38;2;255;206;0m[48;2;193;147;9m▀[38;2;255;206;0m[48;2;188;143;9m▀[38;2;255;206;0m[48;2;192;146;9m▀[38;2;255;209;0m[48;2;176;135;10m▀[38;2;255;206;0m[48;2;177;136;10m▀[38;2;253;201;0m[48;2;194;147;9m▀[38;2;253;203;0m[48;2;189;144;9m▀[38;2;255;207;0m[48;2;193;147;9m▀[38;2;255;206;0m[48;2;171;129;9m▀[38;2;212;170;7m[48;2;189;152;9m▀[38;2;206;165;8m[48;2;210;170;7m▀[38;2;188;152;10m[48;2;190;153;9m▀[38;2;182;144;11m[48;2;198;158;9m▀[38;2;205;147;4m[48;2;160;116;9m▀[38;2;189;133;6m[48;2;195;138;5m▀[38;2;244;188;2m[48;2;242;183;2m▀[38;2;255;209;2m[48;2;255;210;2m▀[38;2;204;164;10m[48;2;215;173;8m▀[38;2;245;193;0m[48;2;225;179;0m▀[38;2;253;217;68m[48;2;255;232;51m▀[38;2;30;32;34m[48;2;68;67;54m▀[38;2;0;0;0m[48;2;0;0;0m▀[0m
|
|
18
|
-
[38;2;0;0;0m[48;2;0;0;0m▀[38;2;78;75;56m[48;2;113;105;67m▀[38;2;247;205;36m[48;2;230;188;26m▀[38;2;201;160;0m[48;2;203;161;3m▀[38;2;226;182;6m[48;2;249;200;4m▀[38;2;255;208;2m[48;2;250;201;3m▀[38;2;242;180;2m[48;2;244;178;2m▀[38;2;181;128;6m[48;2;154;109;6m▀[38;2;182;131;6m[48;2;174;124;5m▀[38;2;255;208;1m[48;2;255;204;2m▀[38;2;218;177;7m[48;2;230;186;5m▀[38;2;164;131;13m[48;2;186;139;8m▀[38;2;190;142;7m[48;2;254;200;2m▀[38;2;251;196;2m[48;2;254;205;3m▀[38;2;249;196;2m[48;2;251;202;3m▀[38;2;248;195;3m[48;2;251;202;3m▀[38;2;255;202;2m[48;2;255;209;2m▀[38;2;216;171;5m[48;2;221;178;6m▀[38;2;217;170;5m[48;2;221;177;6m▀[38;2;255;202;2m[48;2;255;209;2m▀[38;2;248;195;3m[48;2;251;202;3m▀[38;2;250;196;3m[48;2;252;202;3m▀[38;2;252;197;2m[48;2;254;205;4m▀[38;2;193;144;7m[48;2;255;200;2m▀[38;2;164;131;12m[48;2;188;140;7m▀[38;2;217;175;7m[48;2;230;185;6m▀[38;2;255;208;2m[48;2;255;205;2m▀[38;2;183;132;5m[48;2;174;124;5m▀[38;2;181;128;6m[48;2;153;109;5m▀[38;2;243;180;2m[48;2;244;178;2m▀[38;2;255;208;3m[48;2;250;200;3m▀[38;2;227;183;7m[48;2;250;200;4m▀[38;2;201;160;1m[48;2;203;161;3m▀[38;2;247;205;35m[48;2;229;188;26m▀[38;2;79;75;55m[48;2;115;106;66m▀[38;2;0;0;0m[48;2;0;0;0m▀[0m
|
|
1
|
+
[38;2;1;1;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;3;4;3m▀[38;2;0;2;1m[48;2;4;4;2m▀[38;2;1;2;2m[48;2;0;0;0m▀[38;2;2;3;2m[48;2;0;0;0m▀[38;2;2;3;2m[48;2;0;0;0m▀[38;2;1;2;2m[48;2;0;0;0m▀[38;2;0;2;1m[48;2;4;4;2m▀[38;2;0;2;1m[48;2;3;4;3m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
2
|
+
[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;2;1m[48;2;1;1;1m▀[38;2;1;2;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;1;3;2m▀[38;2;1;2;2m[48;2;2;2;0m▀[38;2;4;5;2m[48;2;0;0;0m▀[38;2;0;0;0m[48;2;52;49;33m▀[38;2;0;0;0m[48;2;168;149;63m▀[38;2;9;11;15m[48;2;223;192;57m▀[38;2;28;28;25m[48;2;242;205;52m▀[38;2;28;28;25m[48;2;242;205;52m▀[38;2;9;11;15m[48;2;223;192;57m▀[38;2;0;0;0m[48;2;169;149;62m▀[38;2;0;0;0m[48;2;53;50;32m▀[38;2;4;4;2m[48;2;0;0;0m▀[38;2;1;2;2m[48;2;2;2;0m▀[38;2;1;1;1m[48;2;2;2;2m▀[38;2;1;2;1m[48;2;1;1;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[0m
|
|
3
|
+
[38;2;1;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;1;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;1;1;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;3;2m[48;2;0;0;0m▀[38;2;4;5;2m[48;2;0;0;0m▀[38;2;2;3;0m[48;2;0;0;0m▀[38;2;0;0;3m[48;2;140;122;42m▀[38;2;117;105;53m[48;2;251;204;22m▀[38;2;231;192;35m[48;2;223;177;0m▀[38;2;255;223;9m[48;2;240;192;1m▀[38;2;255;208;0m[48;2;218;174;4m▀[38;2;255;206;0m[48;2;208;165;4m▀[38;2;255;206;0m[48;2;208;166;4m▀[38;2;255;207;0m[48;2;218;174;4m▀[38;2;255;223;9m[48;2;240;192;2m▀[38;2;232;193;34m[48;2;224;178;0m▀[38;2;119;106;52m[48;2;250;203;21m▀[38;2;0;0;4m[48;2;142;124;42m▀[38;2;3;2;0m[48;2;0;0;1m▀[38;2;5;5;3m[48;2;0;0;0m▀[38;2;2;3;2m[48;2;0;0;0m▀[38;2;1;1;1m[48;2;1;2;2m▀[38;2;1;2;1m[48;2;0;1;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;1;1;1m[48;2;1;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[0m
|
|
4
|
+
[38;2;1;1;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;2;2;1m[48;2;3;3;2m▀[38;2;0;0;0m[48;2;0;0;0m▀[38;2;18;17;8m[48;2;70;58;10m▀[38;2;86;73;18m[48;2;117;98;24m▀[38;2;123;104;28m[48;2;225;181;18m▀[38;2;253;205;17m[48;2;170;136;8m▀[38;2;208;164;0m[48;2;66;64;37m▀[38;2;144;117;12m[48;2;45;59;79m▀[38;2;103;89;25m[48;2;50;68;99m▀[38;2;75;72;43m[48;2;52;71;100m▀[38;2;63;66;51m[48;2;52;70;98m▀[38;2;63;64;50m[48;2;56;74;101m▀[38;2;75;71;42m[48;2;36;54;85m▀[38;2;105;90;25m[48;2;31;50;82m▀[38;2;142;115;12m[48;2;48;62;83m▀[38;2;206;162;0m[48;2;68;65;39m▀[38;2;255;207;19m[48;2;168;134;9m▀[38;2;123;103;26m[48;2;216;174;11m▀[38;2;104;89;29m[48;2;221;196;98m▀[38;2;23;22;11m[48;2;99;85;31m▀[38;2;0;0;0m[48;2;0;0;0m▀[38;2;2;2;2m[48;2;4;4;2m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;1;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
5
|
+
[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;2m[48;2;1;1;1m▀[38;2;3;4;1m[48;2;1;2;1m▀[38;2;0;0;0m[48;2;0;0;1m▀[38;2;94;76;9m[48;2;19;17;4m▀[38;2;159;129;18m[48;2;107;88;17m▀[38;2;160;127;9m[48;2;114;96;24m▀[38;2;45;52;54m[48;2;21;39;71m▀[38;2;52;72;104m[48;2;43;55;72m▀[38;2;59;74;92m[48;2;23;36;58m▀[38;2;41;54;72m[48;2;25;39;60m▀[38;2;31;45;63m[48;2;27;42;62m▀[38;2;27;41;60m[48;2;27;42;63m▀[38;2;28;42;61m[48;2;27;42;63m▀[38;2;28;42;61m[48;2;28;42;62m▀[38;2;38;52;70m[48;2;26;40;61m▀[38;2;60;75;94m[48;2;23;37;59m▀[38;2;49;68;101m[48;2;38;52;69m▀[38;2;41;49;52m[48;2;18;36;68m▀[38;2;160;128;11m[48;2;113;95;25m▀[38;2;154;124;14m[48;2;106;88;18m▀[38;2;92;75;9m[48;2;20;17;4m▀[38;2;0;0;0m[48;2;0;0;1m▀[38;2;3;4;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;2m[48;2;0;1;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
6
|
+
[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;1;3;1m▀[38;2;0;0;0m[48;2;0;0;1m▀[38;2;5;8;5m[48;2;25;20;2m▀[38;2;167;142;36m[48;2;205;162;5m▀[38;2;89;77;24m[48;2;80;68;21m▀[38;2;14;30;59m[48;2;3;16;39m▀[38;2;29;41;61m[48;2;20;34;49m▀[38;2;29;43;63m[48;2;24;37;57m▀[38;2;28;42;63m[48;2;27;40;60m▀[38;2;27;42;62m[48;2;27;41;62m▀[38;2;26;41;61m[48;2;27;41;62m▀[38;2;26;42;61m[48;2;27;41;62m▀[38;2;27;42;62m[48;2;28;41;62m▀[38;2;28;42;63m[48;2;26;40;60m▀[38;2;29;44;64m[48;2;23;38;57m▀[38;2;28;43;61m[48;2;21;34;50m▀[38;2;13;31;59m[48;2;4;15;39m▀[38;2;88;76;25m[48;2;79;67;20m▀[38;2;167;141;36m[48;2;206;162;6m▀[38;2;6;9;6m[48;2;26;21;2m▀[38;2;0;0;0m[48;2;0;0;1m▀[38;2;0;2;1m[48;2;1;3;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
7
|
+
[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;1;2;1m[48;2;1;1;1m▀[38;2;0;1;1m[48;2;1;2;1m▀[38;2;3;3;1m[48;2;0;0;1m▀[38;2;155;118;10m[48;2;13;10;3m▀[38;2;100;83;17m[48;2;130;103;13m▀[38;2;3;7;28m[48;2;15;17;26m▀[38;2;15;20;31m[48;2;11;13;29m▀[38;2;11;22;36m[48;2;16;18;27m▀[38;2;13;26;42m[48;2;13;16;29m▀[38;2;15;28;45m[48;2;12;17;30m▀[38;2;16;29;46m[48;2;12;18;31m▀[38;2;15;30;46m[48;2;12;18;31m▀[38;2;15;29;45m[48;2;12;17;30m▀[38;2;13;25;42m[48;2;13;16;29m▀[38;2;12;21;37m[48;2;16;18;27m▀[38;2;15;20;31m[48;2;11;13;29m▀[38;2;2;7;28m[48;2;15;17;26m▀[38;2;102;83;17m[48;2;120;95;13m▀[38;2;159;119;10m[48;2;8;6;3m▀[38;2;4;4;1m[48;2;0;0;1m▀[38;2;0;1;1m[48;2;1;2;1m▀[38;2;1;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;1;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
8
|
+
[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;3;4;1m[48;2;1;3;1m▀[38;2;0;0;1m[48;2;0;0;3m▀[38;2;118;91;7m[48;2;20;15;6m▀[38;2;128;104;17m[48;2;203;154;1m▀[38;2;0;5;28m[48;2;155;125;11m▀[38;2;5;10;30m[48;2;44;40;23m▀[38;2;13;16;29m[48;2;10;13;27m▀[38;2;16;17;28m[48;2;2;7;29m▀[38;2;16;17;28m[48;2;1;6;29m▀[38;2;16;18;28m[48;2;1;6;29m▀[38;2;16;17;28m[48;2;2;7;29m▀[38;2;14;16;29m[48;2;10;13;27m▀[38;2;6;10;30m[48;2;43;40;23m▀[38;2;0;5;28m[48;2;156;127;12m▀[38;2;118;96;17m[48;2;196;149;2m▀[38;2;181;140;11m[48;2;117;92;12m▀[38;2;29;24;5m[48;2;43;36;6m▀[38;2;0;0;1m[48;2;0;0;0m▀[38;2;1;3;2m[48;2;2;3;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
9
|
+
[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;1;1;1m[48;2;2;5;4m▀[38;2;1;3;2m[48;2;0;0;0m▀[38;2;2;4;4m[48;2;0;0;0m▀[38;2;2;4;4m[48;2;0;0;0m▀[38;2;0;0;0m[48;2;35;39;45m▀[38;2;0;0;0m[48;2;87;88;78m▀[38;2;50;51;53m[48;2;112;121;127m▀[38;2;212;162;6m[48;2;55;77;133m▀[38;2;236;183;0m[48;2;124;101;35m▀[38;2;174;141;10m[48;2;207;156;2m▀[38;2;129;106;15m[48;2;239;180;0m▀[38;2;108;89;16m[48;2;247;188;0m▀[38;2;107;89;16m[48;2;246;188;0m▀[38;2;128;106;16m[48;2;239;181;0m▀[38;2;172;140;11m[48;2;208;157;1m▀[38;2;235;183;0m[48;2;126;102;33m▀[38;2;215;164;6m[48;2;55;76;131m▀[38;2;53;53;54m[48;2;113;122;127m▀[38;2;0;0;0m[48;2;90;90;78m▀[38;2;0;0;0m[48;2;37;41;46m▀[38;2;4;5;4m[48;2;0;0;0m▀[38;2;2;4;4m[48;2;0;0;0m▀[38;2;1;3;2m[48;2;0;0;0m▀[38;2;0;1;1m[48;2;3;4;4m▀[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;2;1m[48;2;1;2;1m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
10
|
+
[38;2;0;2;1m[48;2;0;2;1m▀[38;2;0;1;1m[48;2;3;4;3m▀[38;2;3;4;4m[48;2;0;0;0m▀[38;2;0;0;0m[48;2;27;34;52m▀[38;2;5;9;17m[48;2;224;212;147m▀[38;2;61;69;84m[48;2;186;169;85m▀[38;2;33;37;35m[48;2;16;46;113m▀[38;2;108;115;114m[48;2;120;107;37m▀[38;2;39;83;182m[48;2;2;41;131m▀[38;2;150;131;42m[48;2;89;86;55m▀[38;2;195;184;125m[48;2;220;172;0m▀[38;2;88;115;180m[48;2;241;200;32m▀[38;2;56;81;146m[48;2;207;187;95m▀[38;2;62;75;111m[48;2;178;174;132m▀[38;2;73;78;92m[48;2;154;159;146m▀[38;2;74;78;91m[48;2;155;159;146m▀[38;2;63;75;111m[48;2;177;173;132m▀[38;2;57;81;145m[48;2;206;187;96m▀[38;2;87;114;178m[48;2;241;200;33m▀[38;2;194;184;125m[48;2;221;173;0m▀[38;2;153;133;42m[48;2;91;88;54m▀[38;2;40;83;182m[48;2;1;40;131m▀[38;2;108;116;117m[48;2;122;108;39m▀[38;2;34;37;36m[48;2;18;47;113m▀[38;2;62;70;85m[48;2;184;168;85m▀[38;2;5;9;18m[48;2;229;215;145m▀[38;2;0;0;0m[48;2;32;37;48m▀[38;2;3;5;3m[48;2;0;0;0m▀[38;2;0;1;1m[48;2;3;5;3m▀[38;2;0;2;1m[48;2;0;2;1m▀[0m
|
|
11
|
+
[38;2;1;2;1m[48;2;2;4;3m▀[38;2;0;0;2m[48;2;0;0;0m▀[38;2;12;9;0m[48;2;38;50;81m▀[38;2;179;156;65m[48;2;195;164;34m▀[38;2;251;207;23m[48;2;231;183;0m▀[38;2;232;183;0m[48;2;220;181;16m▀[38;2;8;38;111m[48;2;1;32;110m▀[38;2;133;120;49m[48;2;110;106;63m▀[38;2;181;145;7m[48;2;255;223;0m▀[38;2;225;181;2m[48;2;230;188;14m▀[38;2;203;165;16m[48;2;208;181;58m▀[38;2;202;169;36m[48;2;250;209;39m▀[38;2;216;179;27m[48;2;251;208;31m▀[38;2;216;179;30m[48;2;244;203;35m▀[38;2;195;163;34m[48;2;236;200;44m▀[38;2;196;162;35m[48;2;237;201;42m▀[38;2;218;180;28m[48;2;236;200;44m▀[38;2;215;179;26m[48;2;251;209;34m▀[38;2;202;170;36m[48;2;250;209;38m▀[38;2;202;164;16m[48;2;207;179;59m▀[38;2;226;181;1m[48;2;230;187;15m▀[38;2;181;145;6m[48;2;255;224;0m▀[38;2;136;122;49m[48;2;113;108;62m▀[38;2;8;38;112m[48;2;0;30;108m▀[38;2;233;184;0m[48;2;222;182;15m▀[38;2;238;199;31m[48;2;219;176;2m▀[38;2;160;146;84m[48;2;52;75;133m▀[38;2;22;15;0m[48;2;37;50;80m▀[38;2;0;0;3m[48;2;0;0;0m▀[38;2;1;3;1m[48;2;1;3;3m▀[0m
|
|
12
|
+
[38;2;2;2;1m[48;2;0;0;0m▀[38;2;0;0;1m[48;2;30;36;48m▀[38;2;21;45;110m[48;2;238;204;65m▀[38;2;192;160;36m[48;2;243;193;0m▀[38;2;255;211;0m[48;2;64;78;85m▀[38;2;82;84;72m[48;2;102;91;55m▀[38;2;88;77;59m[48;2;192;146;13m▀[38;2;106;104;67m[48;2;104;100;64m▀[38;2;247;197;0m[48;2;234;186;3m▀[38;2;198;173;58m[48;2;230;187;14m▀[38;2;255;216;7m[48;2;255;214;0m▀[38;2;133;115;32m[48;2;72;81;85m▀[38;2;81;88;95m[48;2;0;28;173m▀[38;2;157;137;54m[48;2;56;88;173m▀[38;2;219;171;0m[48;2;189;165;62m▀[38;2;211;167;0m[48;2;255;215;0m▀[38;2;207;164;1m[48;2;241;196;13m▀[38;2;76;81;77m[48;2;0;38;157m▀[38;2;130;114;38m[48;2;65;77;92m▀[38;2;255;215;6m[48;2;255;215;0m▀[38;2;198;172;61m[48;2;230;189;13m▀[38;2;247;197;0m[48;2;235;187;2m▀[38;2;109;107;67m[48;2;107;103;63m▀[38;2;89;77;59m[48;2;190;145;13m▀[38;2;79;81;71m[48;2;107;95;56m▀[38;2;255;213;0m[48;2;63;76;87m▀[38;2;157;137;42m[48;2;249;196;0m▀[38;2;7;35;112m[48;2;241;206;63m▀[38;2;0;1;1m[48;2;32;38;49m▀[38;2;1;2;1m[48;2;0;0;0m▀[0m
|
|
13
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[38;2;43;46;45m[48;2;19;19;15m▀[38;2;111;113;101m[48;2;160;130;37m▀[38;2;67;68;70m[48;2;231;179;0m▀[38;2;84;77;64m[48;2;255;208;0m▀[38;2;30;58;117m[48;2;177;138;25m▀[38;2;45;59;86m[48;2;17;38;97m▀[38;2;146;122;37m[48;2;192;150;18m▀[38;2;236;186;0m[48;2;232;185;2m▀[38;2;227;182;7m[48;2;229;184;7m▀[38;2;255;213;0m[48;2;255;216;0m▀[38;2;88;91;76m[48;2;68;77;82m▀[38;2;0;37;151m[48;2;0;20;168m▀[38;2;8;47;144m[48;2;0;31;151m▀[38;2;60;91;173m[48;2;0;28;158m▀[38;2;199;169;46m[48;2;45;80;176m▀[38;2;255;203;0m[48;2;171;151;63m▀[38;2;12;50;144m[48;2;0;35;147m▀[38;2;81;86;81m[48;2;59;71;90m▀[38;2;255;213;0m[48;2;255;217;0m▀[38;2;228;184;7m[48;2;230;186;7m▀[38;2;236;188;0m[48;2;231;185;2m▀[38;2;149;125;37m[48;2;193;152;18m▀[38;2;46;59;85m[48;2;17;38;95m▀[38;2;31;59;117m[48;2;176;136;26m▀[38;2;83;75;62m[48;2;255;207;0m▀[38;2;65;67;70m[48;2;231;179;0m▀[38;2;109;111;97m[48;2;161;131;35m▀[38;2;43;46;45m[48;2;21;20;16m▀[38;2;0;0;0m[48;2;0;0;0m▀[0m
|
|
14
|
+
[38;2;0;0;0m[48;2;0;0;0m▀[38;2;70;68;49m[48;2;122;112;67m▀[38;2;254;211;36m[48;2;255;225;21m▀[38;2;198;159;1m[48;2;207;165;2m▀[38;2;247;203;7m[48;2;252;205;3m▀[38;2;255;199;0m[48;2;238;180;3m▀[38;2;155;108;9m[48;2;188;131;6m▀[38;2;219;168;7m[48;2;182;138;9m▀[38;2;198;159;9m[48;2;179;145;11m▀[38;2;201;161;8m[48;2;214;172;7m▀[38;2;255;207;0m[48;2;196;157;9m▀[38;2;182;153;27m[48;2;221;173;1m▀[38;2;133;121;53m[48;2;235;183;0m▀[38;2;143;129;50m[48;2;232;181;0m▀[38;2;140;126;47m[48;2;231;180;0m▀[38;2;145;130;55m[48;2;231;179;0m▀[38;2;169;147;53m[48;2;228;177;0m▀[38;2;139;124;47m[48;2;233;182;0m▀[38;2;180;153;29m[48;2;222;174;1m▀[38;2;255;207;0m[48;2;195;158;9m▀[38;2;201;162;8m[48;2;213;172;7m▀[38;2;198;160;8m[48;2;179;145;12m▀[38;2;220;169;8m[48;2;181;137;9m▀[38;2;155;108;9m[48;2;188;131;5m▀[38;2;255;198;0m[48;2;238;180;3m▀[38;2;247;203;7m[48;2;252;205;3m▀[38;2;199;159;1m[48;2;206;165;2m▀[38;2;254;211;34m[48;2;255;225;19m▀[38;2;72;69;49m[48;2;124;114;65m▀[38;2;0;0;0m[48;2;0;0;0m▀[0m
|
|
15
|
+
[38;2;0;0;0m[48;2;0;0;4m▀[38;2;145;130;65m[48;2;161;141;62m▀[38;2;250;201;10m[48;2;217;173;6m▀[38;2;205;165;5m[48;2;230;184;4m▀[38;2;255;208;2m[48;2;254;204;2m▀[38;2;240;179;2m[48;2;234;171;2m▀[38;2;165;116;7m[48;2;146;102;6m▀[38;2;217;165;5m[48;2;232;173;2m▀[38;2;227;183;6m[48;2;248;201;3m▀[38;2;178;143;11m[48;2;185;141;9m▀[38;2;188;143;8m[48;2;246;193;2m▀[38;2;221;170;5m[48;2;255;210;2m▀[38;2;221;171;7m[48;2;255;206;2m▀[38;2;227;175;5m[48;2;255;213;2m▀[38;2;197;153;8m[48;2;230;186;5m▀[38;2;198;153;9m[48;2;231;185;5m▀[38;2;228;176;6m[48;2;255;213;2m▀[38;2;221;171;7m[48;2;255;206;3m▀[38;2;221;171;5m[48;2;255;210;3m▀[38;2;190;145;7m[48;2;247;193;3m▀[38;2;177;142;11m[48;2;186;141;8m▀[38;2;226;182;7m[48;2;248;200;4m▀[38;2;217;166;5m[48;2;232;174;3m▀[38;2;165;115;7m[48;2;145;101;6m▀[38;2;240;178;2m[48;2;234;171;2m▀[38;2;255;208;3m[48;2;255;204;3m▀[38;2;206;165;6m[48;2;230;185;5m▀[38;2;249;201;11m[48;2;217;173;6m▀[38;2;146;131;63m[48;2;162;142;61m▀[38;2;0;0;0m[48;2;0;0;4m▀[0m
|
|
@@ -14,6 +14,12 @@ export interface WelcomeStats {
|
|
|
14
14
|
|
|
15
15
|
const TITLE = "★ ASTRO PI ★";
|
|
16
16
|
const HINT = "Press any key to launch · auto-dismiss in 6s";
|
|
17
|
+
const FRAME_TL = "╭";
|
|
18
|
+
const FRAME_TR = "╮";
|
|
19
|
+
const FRAME_BL = "╰";
|
|
20
|
+
const FRAME_BR = "╯";
|
|
21
|
+
const FRAME_HORIZONTAL = "─";
|
|
22
|
+
const FRAME_VERTICAL = "│";
|
|
17
23
|
|
|
18
24
|
function formatTokens(n: number | undefined): string {
|
|
19
25
|
if (n === undefined || n <= 0) return "—";
|
|
@@ -69,16 +75,30 @@ class CompositeMask implements Mask {
|
|
|
69
75
|
}
|
|
70
76
|
}
|
|
71
77
|
|
|
78
|
+
function truncate(line: string, width: number): string {
|
|
79
|
+
return visibleWidth(line) <= width ? line : line.slice(0, width);
|
|
80
|
+
}
|
|
81
|
+
|
|
72
82
|
export function composeWelcome(width: number, seed: number, stats: WelcomeStats): string[] {
|
|
73
83
|
const hasVersion = !!stats.pkgVersion;
|
|
74
|
-
const
|
|
75
|
-
const
|
|
76
|
-
const
|
|
84
|
+
const aw = artWidth();
|
|
85
|
+
const ah = artHeight();
|
|
86
|
+
const frameWidth = aw + 2;
|
|
77
87
|
const safeWidth = Math.max(40, width);
|
|
78
|
-
|
|
88
|
+
|
|
89
|
+
const versionRow = 1;
|
|
90
|
+
const frameTopRow = hasVersion ? 2 : 1;
|
|
91
|
+
const artStartRow = frameTopRow + 1;
|
|
92
|
+
const frameBottomRow = artStartRow + ah;
|
|
93
|
+
const taglineRow = frameBottomRow + 2;
|
|
94
|
+
const statsRow = taglineRow + 2;
|
|
95
|
+
const hintRow = statsRow + 2;
|
|
96
|
+
const totalRows = hintRow + 1;
|
|
97
|
+
|
|
98
|
+
const frameStartCol = Math.max(0, Math.floor((safeWidth - frameWidth) / 2));
|
|
79
99
|
|
|
80
100
|
const mask = new CompositeMask(totalRows, safeWidth);
|
|
81
|
-
mask.occupyArt(
|
|
101
|
+
mask.occupyArt(frameTopRow, frameStartCol, frameBottomRow - frameTopRow + 1, frameWidth);
|
|
82
102
|
|
|
83
103
|
const titleLine = fg(PALETTE.title, TITLE);
|
|
84
104
|
const titlePlaced = centerInLine(titleLine, safeWidth);
|
|
@@ -93,53 +113,43 @@ export function composeWelcome(width: number, seed: number, stats: WelcomeStats)
|
|
|
93
113
|
|
|
94
114
|
const taglineRaw = pickMessage(seed);
|
|
95
115
|
const taglineLine = fg(PALETTE.tagline, taglineRaw);
|
|
96
|
-
const taglineRow = artStartRow + artHeight() + 1;
|
|
97
116
|
const taglinePlaced = centerInLine(taglineLine, safeWidth);
|
|
98
117
|
mask.occupy(taglineRow, taglinePlaced.col, visibleWidth(taglineLine));
|
|
99
118
|
|
|
100
119
|
const statsRaw = statsLine(stats);
|
|
101
120
|
const statsColored = fg(PALETTE.stats, statsRaw);
|
|
102
|
-
const statsRow = taglineRow + 2;
|
|
103
121
|
const statsPlaced = centerInLine(statsColored, safeWidth);
|
|
104
122
|
mask.occupy(statsRow, statsPlaced.col, visibleWidth(statsColored));
|
|
105
123
|
|
|
106
124
|
const hintColored = fg(PALETTE.hint, HINT);
|
|
107
|
-
const hintRow = statsRow + 2;
|
|
108
125
|
const hintPlaced = centerInLine(hintColored, safeWidth);
|
|
109
126
|
mask.occupy(hintRow, hintPlaced.col, visibleWidth(hintColored));
|
|
110
127
|
|
|
111
128
|
const stars = renderStarfield(safeWidth, totalRows, seed, mask);
|
|
112
129
|
const artLines = renderArt();
|
|
113
130
|
|
|
131
|
+
const frameTop = fg(PALETTE.title, FRAME_TL + FRAME_HORIZONTAL.repeat(aw) + FRAME_TR);
|
|
132
|
+
const frameBot = fg(PALETTE.title, FRAME_BL + FRAME_HORIZONTAL.repeat(aw) + FRAME_BR);
|
|
133
|
+
const frameLeft = fg(PALETTE.title, FRAME_VERTICAL);
|
|
134
|
+
const frameRight = fg(PALETTE.title, FRAME_VERTICAL);
|
|
135
|
+
const padLeft = " ".repeat(frameStartCol);
|
|
136
|
+
|
|
114
137
|
const composed: string[] = [];
|
|
115
138
|
for (let r = 0; r < totalRows; r++) {
|
|
116
139
|
let line = stars[r] ?? " ".repeat(safeWidth);
|
|
117
140
|
|
|
118
|
-
if (r === 0) line =
|
|
119
|
-
if (versionPlaced && r === versionRow) line =
|
|
120
|
-
if (r ===
|
|
121
|
-
if (r ===
|
|
122
|
-
if (r
|
|
123
|
-
|
|
124
|
-
if (r >= artStartRow && r < artStartRow + artHeight()) {
|
|
141
|
+
if (r === 0) line = truncate(titlePlaced.line, safeWidth);
|
|
142
|
+
else if (versionPlaced && r === versionRow) line = truncate(versionPlaced.line, safeWidth);
|
|
143
|
+
else if (r === frameTopRow) line = truncate(padLeft + frameTop, safeWidth);
|
|
144
|
+
else if (r === frameBottomRow) line = truncate(padLeft + frameBot, safeWidth);
|
|
145
|
+
else if (r > frameTopRow && r < frameBottomRow) {
|
|
125
146
|
const artLine = artLines[r - artStartRow];
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
147
|
+
line = truncate(padLeft + frameLeft + artLine + frameRight, safeWidth);
|
|
148
|
+
} else if (r === taglineRow) line = truncate(taglinePlaced.line, safeWidth);
|
|
149
|
+
else if (r === statsRow) line = truncate(statsPlaced.line, safeWidth);
|
|
150
|
+
else if (r === hintRow) line = truncate(hintPlaced.line, safeWidth);
|
|
129
151
|
|
|
130
152
|
composed.push(line);
|
|
131
153
|
}
|
|
132
154
|
return composed;
|
|
133
155
|
}
|
|
134
|
-
|
|
135
|
-
function overlay(starLine: string, payload: string, width: number): string {
|
|
136
|
-
return truncate(payload, width);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
function overlayAt(_starLine: string, payload: string, width: number, _startCol: number, _payloadWidth: number): string {
|
|
140
|
-
return truncate(payload, width);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
function truncate(line: string, width: number): string {
|
|
144
|
-
return visibleWidth(line) <= width ? line : line.slice(0, width);
|
|
145
|
-
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Pooya Parsa <pooya@pi0.io>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|