@astrofoundry/pi-astro 0.17.1 → 0.18.1
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 +18 -10
- package/agents/arcane.md +20 -0
- package/agents/identity.md +20 -0
- package/agents/network.md +20 -0
- package/extensions/astro-subagents/agents.test.ts +109 -0
- package/extensions/astro-subagents/agents.ts +200 -0
- package/extensions/astro-subagents/child.test.ts +153 -0
- package/extensions/astro-subagents/child.ts +284 -0
- package/extensions/astro-subagents/index.test.ts +90 -0
- package/extensions/astro-subagents/index.ts +272 -0
- package/extensions/astro-subagents/render.ts +221 -0
- package/extensions/specialist-gate/config.ts +85 -0
- package/extensions/specialist-gate/index.test.ts +176 -0
- package/extensions/specialist-gate/index.ts +146 -0
- package/extensions/specialist-gate/types.ts +17 -0
- package/package.json +20 -27
- package/skills/arcane/SKILL.md +45 -0
- package/skills/identity/SKILL.md +46 -0
- package/skills/network/SKILL.md +50 -0
- package/specialists/AGENTS.md +60 -0
- package/specialists/README.md +67 -0
- package/specialists/arcane/run.ts +238 -0
- package/specialists/entry/remote/spc-identity-dmz-entry.sh +25 -0
- package/specialists/entry/remote/spc-network-pulsar-entry.sh +22 -0
- package/specialists/entry/specialist-cli.sh +20 -0
- package/specialists/identity/run.ts +135 -0
- package/specialists/install/install.sh +37 -0
- package/specialists/lib/argv.ts +19 -0
- package/specialists/lib/audit.ts +20 -0
- package/specialists/lib/config.ts +27 -0
- package/specialists/lib/errors.ts +8 -0
- package/specialists/lib/lib.test.ts +144 -0
- package/specialists/lib/main.ts +34 -0
- package/specialists/lib/output.ts +11 -0
- package/specialists/lib/paths.ts +22 -0
- package/specialists/lib/proc.ts +49 -0
- package/specialists/lib/runtime.test.ts +76 -0
- package/specialists/lib/sanitize.ts +64 -0
- package/specialists/lib/secrets.ts +28 -0
- package/specialists/lib/ssh.ts +36 -0
- package/specialists/lib/zitadel.ts +79 -0
- package/specialists/network/run.ts +222 -0
- package/specialists/provision/provision.sh +96 -0
- package/specialists/wrappers.test.ts +116 -0
- package/extensions/astro-agents-loader/index.test.ts +0 -102
- package/extensions/astro-agents-loader/index.ts +0 -48
- package/extensions/astro-agents-loader/sync.test.ts +0 -111
- package/extensions/astro-agents-loader/sync.ts +0 -86
- package/node_modules/jiti/LICENSE +0 -21
- package/node_modules/jiti/README.md +0 -258
- package/node_modules/jiti/dist/babel.cjs +0 -257
- package/node_modules/jiti/dist/jiti.cjs +0 -1
- package/node_modules/jiti/lib/jiti-cli.mjs +0 -34
- package/node_modules/jiti/lib/jiti-hooks.mjs +0 -124
- package/node_modules/jiti/lib/jiti-native.mjs +0 -121
- package/node_modules/jiti/lib/jiti-register.d.mts +0 -1
- package/node_modules/jiti/lib/jiti-register.mjs +0 -4
- package/node_modules/jiti/lib/jiti-static.mjs +0 -23
- package/node_modules/jiti/lib/jiti.cjs +0 -30
- package/node_modules/jiti/lib/jiti.d.cts +0 -8
- package/node_modules/jiti/lib/jiti.d.mts +0 -8
- package/node_modules/jiti/lib/jiti.mjs +0 -29
- package/node_modules/jiti/lib/types.d.ts +0 -420
- package/node_modules/jiti/package.json +0 -146
- package/node_modules/pi-subagents/CHANGELOG.md +0 -1006
- package/node_modules/pi-subagents/README.md +0 -985
- package/node_modules/pi-subagents/agents/context-builder.md +0 -46
- package/node_modules/pi-subagents/agents/delegate.md +0 -12
- package/node_modules/pi-subagents/agents/oracle.md +0 -73
- package/node_modules/pi-subagents/agents/planner.md +0 -55
- package/node_modules/pi-subagents/agents/researcher.md +0 -52
- package/node_modules/pi-subagents/agents/reviewer.md +0 -79
- package/node_modules/pi-subagents/agents/scout.md +0 -50
- package/node_modules/pi-subagents/agents/worker.md +0 -55
- package/node_modules/pi-subagents/install.mjs +0 -92
- package/node_modules/pi-subagents/package.json +0 -84
- package/node_modules/pi-subagents/prompts/gather-context-and-clarify.md +0 -13
- package/node_modules/pi-subagents/prompts/parallel-cleanup.md +0 -59
- package/node_modules/pi-subagents/prompts/parallel-context-build.md +0 -53
- package/node_modules/pi-subagents/prompts/parallel-handoff-plan.md +0 -59
- package/node_modules/pi-subagents/prompts/parallel-research.md +0 -50
- package/node_modules/pi-subagents/prompts/parallel-review.md +0 -54
- package/node_modules/pi-subagents/skills/pi-subagents/SKILL.md +0 -747
- package/node_modules/pi-subagents/src/agents/agent-management.ts +0 -643
- package/node_modules/pi-subagents/src/agents/agent-scope.ts +0 -6
- package/node_modules/pi-subagents/src/agents/agent-selection.ts +0 -23
- package/node_modules/pi-subagents/src/agents/agent-serializer.ts +0 -84
- package/node_modules/pi-subagents/src/agents/agents.ts +0 -808
- package/node_modules/pi-subagents/src/agents/chain-serializer.ts +0 -137
- package/node_modules/pi-subagents/src/agents/frontmatter.ts +0 -29
- package/node_modules/pi-subagents/src/agents/identity.ts +0 -30
- package/node_modules/pi-subagents/src/agents/skills.ts +0 -630
- package/node_modules/pi-subagents/src/extension/control-notices.ts +0 -92
- package/node_modules/pi-subagents/src/extension/doctor.ts +0 -199
- package/node_modules/pi-subagents/src/extension/index.ts +0 -585
- package/node_modules/pi-subagents/src/extension/schemas.ts +0 -168
- package/node_modules/pi-subagents/src/intercom/intercom-bridge.ts +0 -378
- package/node_modules/pi-subagents/src/intercom/result-intercom.ts +0 -269
- package/node_modules/pi-subagents/src/runs/background/async-execution.ts +0 -604
- package/node_modules/pi-subagents/src/runs/background/async-job-tracker.ts +0 -267
- package/node_modules/pi-subagents/src/runs/background/async-resume.ts +0 -332
- package/node_modules/pi-subagents/src/runs/background/async-status.ts +0 -292
- package/node_modules/pi-subagents/src/runs/background/completion-dedupe.ts +0 -63
- package/node_modules/pi-subagents/src/runs/background/notify.ts +0 -108
- package/node_modules/pi-subagents/src/runs/background/parallel-groups.ts +0 -45
- package/node_modules/pi-subagents/src/runs/background/result-watcher.ts +0 -250
- package/node_modules/pi-subagents/src/runs/background/run-status.ts +0 -190
- package/node_modules/pi-subagents/src/runs/background/stale-run-reconciler.ts +0 -291
- package/node_modules/pi-subagents/src/runs/background/subagent-runner.ts +0 -1744
- package/node_modules/pi-subagents/src/runs/background/top-level-async.ts +0 -13
- package/node_modules/pi-subagents/src/runs/foreground/chain-clarify.ts +0 -1333
- package/node_modules/pi-subagents/src/runs/foreground/chain-execution.ts +0 -932
- package/node_modules/pi-subagents/src/runs/foreground/execution.ts +0 -902
- package/node_modules/pi-subagents/src/runs/foreground/subagent-executor.ts +0 -2232
- package/node_modules/pi-subagents/src/runs/shared/completion-guard.ts +0 -125
- package/node_modules/pi-subagents/src/runs/shared/long-running-guard.ts +0 -175
- package/node_modules/pi-subagents/src/runs/shared/model-fallback.ts +0 -103
- package/node_modules/pi-subagents/src/runs/shared/parallel-utils.ts +0 -107
- package/node_modules/pi-subagents/src/runs/shared/pi-args.ts +0 -158
- package/node_modules/pi-subagents/src/runs/shared/pi-spawn.ts +0 -115
- package/node_modules/pi-subagents/src/runs/shared/run-history.ts +0 -55
- package/node_modules/pi-subagents/src/runs/shared/single-output.ts +0 -154
- package/node_modules/pi-subagents/src/runs/shared/subagent-control.ts +0 -226
- package/node_modules/pi-subagents/src/runs/shared/subagent-prompt-runtime.ts +0 -150
- package/node_modules/pi-subagents/src/runs/shared/worktree.ts +0 -577
- package/node_modules/pi-subagents/src/shared/artifacts.ts +0 -98
- package/node_modules/pi-subagents/src/shared/atomic-json.ts +0 -16
- package/node_modules/pi-subagents/src/shared/file-coalescer.ts +0 -40
- package/node_modules/pi-subagents/src/shared/fork-context.ts +0 -76
- package/node_modules/pi-subagents/src/shared/formatters.ts +0 -120
- package/node_modules/pi-subagents/src/shared/jsonl-writer.ts +0 -81
- package/node_modules/pi-subagents/src/shared/model-info.ts +0 -68
- package/node_modules/pi-subagents/src/shared/post-exit-stdio-guard.ts +0 -85
- package/node_modules/pi-subagents/src/shared/session-identity.ts +0 -10
- package/node_modules/pi-subagents/src/shared/session-tokens.ts +0 -44
- package/node_modules/pi-subagents/src/shared/settings.ts +0 -397
- package/node_modules/pi-subagents/src/shared/status-format.ts +0 -49
- package/node_modules/pi-subagents/src/shared/types.ts +0 -726
- package/node_modules/pi-subagents/src/shared/utils.ts +0 -440
- package/node_modules/pi-subagents/src/slash/prompt-template-bridge.ts +0 -397
- package/node_modules/pi-subagents/src/slash/slash-bridge.ts +0 -174
- package/node_modules/pi-subagents/src/slash/slash-commands.ts +0 -528
- package/node_modules/pi-subagents/src/slash/slash-live-state.ts +0 -292
- package/node_modules/pi-subagents/src/tui/render-helpers.ts +0 -80
- package/node_modules/pi-subagents/src/tui/render.ts +0 -1248
- package/node_modules/typebox/build/compile/code.d.mts +0 -12
- package/node_modules/typebox/build/compile/code.mjs +0 -65
- package/node_modules/typebox/build/compile/compile.d.mts +0 -6
- package/node_modules/typebox/build/compile/compile.mjs +0 -12
- package/node_modules/typebox/build/compile/index.d.mts +0 -8
- package/node_modules/typebox/build/compile/index.mjs +0 -14
- package/node_modules/typebox/build/compile/validator.d.mts +0 -43
- package/node_modules/typebox/build/compile/validator.mjs +0 -121
- package/node_modules/typebox/build/error/errors.d.mts +0 -214
- package/node_modules/typebox/build/error/errors.mjs +0 -18
- package/node_modules/typebox/build/error/index.d.mts +0 -1
- package/node_modules/typebox/build/error/index.mjs +0 -1
- package/node_modules/typebox/build/format/_idna.d.mts +0 -2
- package/node_modules/typebox/build/format/_idna.mjs +0 -216
- package/node_modules/typebox/build/format/_puny.d.mts +0 -1
- package/node_modules/typebox/build/format/_puny.mjs +0 -74
- package/node_modules/typebox/build/format/_registry.d.mts +0 -15
- package/node_modules/typebox/build/format/_registry.mjs +0 -96
- package/node_modules/typebox/build/format/date.d.mts +0 -6
- package/node_modules/typebox/build/format/date.mjs +0 -19
- package/node_modules/typebox/build/format/date_time.d.mts +0 -6
- package/node_modules/typebox/build/format/date_time.mjs +0 -11
- package/node_modules/typebox/build/format/duration.d.mts +0 -5
- package/node_modules/typebox/build/format/duration.mjs +0 -8
- package/node_modules/typebox/build/format/email.d.mts +0 -5
- package/node_modules/typebox/build/format/email.mjs +0 -8
- package/node_modules/typebox/build/format/format.d.mts +0 -22
- package/node_modules/typebox/build/format/format.mjs +0 -22
- package/node_modules/typebox/build/format/hostname.d.mts +0 -7
- package/node_modules/typebox/build/format/hostname.mjs +0 -18
- package/node_modules/typebox/build/format/idn_email.d.mts +0 -5
- package/node_modules/typebox/build/format/idn_email.mjs +0 -8
- package/node_modules/typebox/build/format/idn_hostname.d.mts +0 -7
- package/node_modules/typebox/build/format/idn_hostname.mjs +0 -19
- package/node_modules/typebox/build/format/index.d.mts +0 -4
- package/node_modules/typebox/build/format/index.mjs +0 -4
- package/node_modules/typebox/build/format/ipv4.d.mts +0 -6
- package/node_modules/typebox/build/format/ipv4.mjs +0 -38
- package/node_modules/typebox/build/format/ipv6.d.mts +0 -5
- package/node_modules/typebox/build/format/ipv6.mjs +0 -67
- package/node_modules/typebox/build/format/iri.d.mts +0 -5
- package/node_modules/typebox/build/format/iri.mjs +0 -13
- package/node_modules/typebox/build/format/iri_reference.d.mts +0 -5
- package/node_modules/typebox/build/format/iri_reference.mjs +0 -60
- package/node_modules/typebox/build/format/json_pointer.d.mts +0 -6
- package/node_modules/typebox/build/format/json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +0 -6
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +0 -9
- package/node_modules/typebox/build/format/regex.d.mts +0 -6
- package/node_modules/typebox/build/format/regex.mjs +0 -17
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +0 -6
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +0 -9
- package/node_modules/typebox/build/format/time.d.mts +0 -5
- package/node_modules/typebox/build/format/time.mjs +0 -27
- package/node_modules/typebox/build/format/uri.d.mts +0 -5
- package/node_modules/typebox/build/format/uri.mjs +0 -135
- package/node_modules/typebox/build/format/uri_reference.d.mts +0 -5
- package/node_modules/typebox/build/format/uri_reference.mjs +0 -9
- package/node_modules/typebox/build/format/uri_template.d.mts +0 -6
- package/node_modules/typebox/build/format/uri_template.mjs +0 -10
- package/node_modules/typebox/build/format/url.d.mts +0 -6
- package/node_modules/typebox/build/format/url.mjs +0 -9
- package/node_modules/typebox/build/format/uuid.d.mts +0 -6
- package/node_modules/typebox/build/format/uuid.mjs +0 -9
- package/node_modules/typebox/build/guard/emit.d.mts +0 -58
- package/node_modules/typebox/build/guard/emit.mjs +0 -194
- package/node_modules/typebox/build/guard/globals.d.mts +0 -35
- package/node_modules/typebox/build/guard/globals.mjs +0 -90
- package/node_modules/typebox/build/guard/guard.d.mts +0 -69
- package/node_modules/typebox/build/guard/guard.mjs +0 -217
- package/node_modules/typebox/build/guard/index.d.mts +0 -6
- package/node_modules/typebox/build/guard/index.mjs +0 -6
- package/node_modules/typebox/build/guard/native.d.mts +0 -20
- package/node_modules/typebox/build/guard/native.mjs +0 -60
- package/node_modules/typebox/build/guard/string.d.mts +0 -6
- package/node_modules/typebox/build/guard/string.mjs +0 -164
- package/node_modules/typebox/build/index.d.mts +0 -8
- package/node_modules/typebox/build/index.mjs +0 -14
- package/node_modules/typebox/build/schema/build.d.mts +0 -39
- package/node_modules/typebox/build/schema/build.mjs +0 -118
- package/node_modules/typebox/build/schema/check.d.mts +0 -6
- package/node_modules/typebox/build/schema/check.mjs +0 -14
- package/node_modules/typebox/build/schema/compile.d.mts +0 -22
- package/node_modules/typebox/build/schema/compile.mjs +0 -46
- package/node_modules/typebox/build/schema/engine/_context.d.mts +0 -35
- package/node_modules/typebox/build/schema/engine/_context.mjs +0 -129
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +0 -3
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +0 -20
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +0 -7
- package/node_modules/typebox/build/schema/engine/_externals.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_functions.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_guard.mjs +0 -26
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +0 -4
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/_refine.mjs +0 -29
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +0 -18
- package/node_modules/typebox/build/schema/engine/_stack.mjs +0 -107
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +0 -2
- package/node_modules/typebox/build/schema/engine/_unique.mjs +0 -5
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +0 -50
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +0 -110
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/allOf.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +0 -52
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +0 -5
- package/node_modules/typebox/build/schema/engine/boolean.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/const.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/const.mjs +0 -30
- package/node_modules/typebox/build/schema/engine/contains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/contains.mjs +0 -42
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +0 -45
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +0 -40
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +0 -38
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/enum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +0 -33
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/format.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/format.mjs +0 -26
- package/node_modules/typebox/build/schema/engine/if.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/if.mjs +0 -47
- package/node_modules/typebox/build/schema/engine/index.d.mts +0 -49
- package/node_modules/typebox/build/schema/engine/index.mjs +0 -55
- package/node_modules/typebox/build/schema/engine/items.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/items.mjs +0 -68
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +0 -42
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/maximum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minContains.mjs +0 -41
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minItems.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minLength.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/minimum.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/not.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/not.mjs +0 -37
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +0 -58
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/pattern.mjs +0 -28
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +0 -44
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +0 -35
- package/node_modules/typebox/build/schema/engine/properties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/properties.mjs +0 -75
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +0 -39
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +0 -25
- package/node_modules/typebox/build/schema/engine/ref.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/ref.mjs +0 -58
- package/node_modules/typebox/build/schema/engine/required.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/required.mjs +0 -32
- package/node_modules/typebox/build/schema/engine/schema.d.mts +0 -9
- package/node_modules/typebox/build/schema/engine/schema.mjs +0 -352
- package/node_modules/typebox/build/schema/engine/type.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/type.mjs +0 -74
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +0 -51
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +0 -6
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +0 -51
- package/node_modules/typebox/build/schema/errors.d.mts +0 -6
- package/node_modules/typebox/build/schema/errors.mjs +0 -24
- package/node_modules/typebox/build/schema/index.d.mts +0 -3
- package/node_modules/typebox/build/schema/index.mjs +0 -9
- package/node_modules/typebox/build/schema/parse.d.mts +0 -13
- package/node_modules/typebox/build/schema/parse.mjs +0 -27
- package/node_modules/typebox/build/schema/pointer/index.d.mts +0 -2
- package/node_modules/typebox/build/schema/pointer/index.mjs +0 -2
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +0 -10
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +0 -106
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +0 -9
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +0 -2
- package/node_modules/typebox/build/schema/resolve/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/resolve/index.mjs +0 -1
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +0 -3
- package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +0 -1
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +0 -1
- package/node_modules/typebox/build/schema/schema.d.mts +0 -10
- package/node_modules/typebox/build/schema/schema.mjs +0 -10
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/_canonical.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +0 -6
- package/node_modules/typebox/build/schema/static/_comparer.mjs +0 -2
- package/node_modules/typebox/build/schema/static/_elements.d.mts +0 -18
- package/node_modules/typebox/build/schema/static/_elements.mjs +0 -2
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/static/allOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/allOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/anyOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/const.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/const.mjs +0 -2
- package/node_modules/typebox/build/schema/static/enum.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/enum.mjs +0 -2
- package/node_modules/typebox/build/schema/static/if.d.mts +0 -15
- package/node_modules/typebox/build/schema/static/if.mjs +0 -2
- package/node_modules/typebox/build/schema/static/index.d.mts +0 -1
- package/node_modules/typebox/build/schema/static/index.mjs +0 -1
- package/node_modules/typebox/build/schema/static/items.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/items.mjs +0 -2
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/oneOf.mjs +0 -2
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +0 -2
- package/node_modules/typebox/build/schema/static/properties.d.mts +0 -32
- package/node_modules/typebox/build/schema/static/properties.mjs +0 -2
- package/node_modules/typebox/build/schema/static/ref.d.mts +0 -8
- package/node_modules/typebox/build/schema/static/ref.mjs +0 -3
- package/node_modules/typebox/build/schema/static/required.d.mts +0 -3
- package/node_modules/typebox/build/schema/static/required.mjs +0 -3
- package/node_modules/typebox/build/schema/static/schema.d.mts +0 -56
- package/node_modules/typebox/build/schema/static/schema.mjs +0 -2
- package/node_modules/typebox/build/schema/static/static.d.mts +0 -4
- package/node_modules/typebox/build/schema/static/static.mjs +0 -3
- package/node_modules/typebox/build/schema/static/type.d.mts +0 -4
- package/node_modules/typebox/build/schema/static/type.mjs +0 -3
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +0 -7
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +0 -3
- package/node_modules/typebox/build/schema/types/_guard.d.mts +0 -10
- package/node_modules/typebox/build/schema/types/_guard.mjs +0 -16
- package/node_modules/typebox/build/schema/types/_refine.d.mts +0 -13
- package/node_modules/typebox/build/schema/types/_refine.mjs +0 -18
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/allOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/allOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/anchor.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/anchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/anyOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/const.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/const.mjs +0 -12
- package/node_modules/typebox/build/schema/types/contains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contains.mjs +0 -14
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
- package/node_modules/typebox/build/schema/types/default.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/default.mjs +0 -12
- package/node_modules/typebox/build/schema/types/defs.d.mts +0 -6
- package/node_modules/typebox/build/schema/types/defs.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +0 -11
- package/node_modules/typebox/build/schema/types/dependencies.mjs +0 -16
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +0 -15
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +0 -12
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/else.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/else.mjs +0 -14
- package/node_modules/typebox/build/schema/types/enum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/enum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/format.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/format.mjs +0 -13
- package/node_modules/typebox/build/schema/types/id.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/id.mjs +0 -13
- package/node_modules/typebox/build/schema/types/if.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/if.mjs +0 -14
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -54
- package/node_modules/typebox/build/schema/types/index.mjs +0 -60
- package/node_modules/typebox/build/schema/types/items.d.mts +0 -19
- package/node_modules/typebox/build/schema/types/items.mjs +0 -26
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/maximum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/maximum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minContains.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minContains.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minItems.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minLength.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minLength.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minProperties.mjs +0 -13
- package/node_modules/typebox/build/schema/types/minimum.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/minimum.mjs +0 -13
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +0 -13
- package/node_modules/typebox/build/schema/types/not.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/not.mjs +0 -14
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/oneOf.mjs +0 -15
- package/node_modules/typebox/build/schema/types/pattern.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/pattern.mjs +0 -14
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/properties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/properties.mjs +0 -15
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +0 -15
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +0 -12
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +0 -19
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +0 -8
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +0 -12
- package/node_modules/typebox/build/schema/types/ref.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/ref.mjs +0 -13
- package/node_modules/typebox/build/schema/types/required.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/required.mjs +0 -14
- package/node_modules/typebox/build/schema/types/schema.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/schema.mjs +0 -14
- package/node_modules/typebox/build/schema/types/then.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/then.mjs +0 -14
- package/node_modules/typebox/build/schema/types/type.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/type.mjs +0 -15
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +0 -14
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +0 -14
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +0 -13
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +0 -5
- package/node_modules/typebox/build/system/arguments/arguments.mjs +0 -9
- package/node_modules/typebox/build/system/arguments/index.d.mts +0 -1
- package/node_modules/typebox/build/system/arguments/index.mjs +0 -1
- package/node_modules/typebox/build/system/environment/environment.d.mts +0 -1
- package/node_modules/typebox/build/system/environment/environment.mjs +0 -1
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +0 -9
- package/node_modules/typebox/build/system/environment/evaluate.mjs +0 -37
- package/node_modules/typebox/build/system/environment/index.d.mts +0 -1
- package/node_modules/typebox/build/system/environment/index.mjs +0 -1
- package/node_modules/typebox/build/system/hashing/hash.d.mts +0 -4
- package/node_modules/typebox/build/system/hashing/hash.mjs +0 -232
- package/node_modules/typebox/build/system/hashing/index.d.mts +0 -1
- package/node_modules/typebox/build/system/hashing/index.mjs +0 -1
- package/node_modules/typebox/build/system/index.d.mts +0 -4
- package/node_modules/typebox/build/system/index.mjs +0 -4
- package/node_modules/typebox/build/system/locale/_config.d.mts +0 -7
- package/node_modules/typebox/build/system/locale/_config.mjs +0 -15
- package/node_modules/typebox/build/system/locale/_locale.d.mts +0 -40
- package/node_modules/typebox/build/system/locale/_locale.mjs +0 -40
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -41
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -41
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -41
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -41
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/en_US.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/en_US.mjs +0 -40
- package/node_modules/typebox/build/system/locale/es_419.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_419.mjs +0 -41
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -41
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -41
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -41
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -41
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -41
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -41
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -41
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -41
- package/node_modules/typebox/build/system/locale/index.d.mts +0 -1
- package/node_modules/typebox/build/system/locale/index.mjs +0 -1
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -41
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -41
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -41
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -41
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -41
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -41
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -41
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -41
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -41
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -41
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -41
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -41
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -41
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +0 -3
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -41
- package/node_modules/typebox/build/system/memory/assign.d.mts +0 -14
- package/node_modules/typebox/build/system/memory/assign.mjs +0 -11
- package/node_modules/typebox/build/system/memory/clone.d.mts +0 -6
- package/node_modules/typebox/build/system/memory/clone.mjs +0 -63
- package/node_modules/typebox/build/system/memory/create.d.mts +0 -8
- package/node_modules/typebox/build/system/memory/create.mjs +0 -30
- package/node_modules/typebox/build/system/memory/discard.d.mts +0 -4
- package/node_modules/typebox/build/system/memory/discard.mjs +0 -17
- package/node_modules/typebox/build/system/memory/index.d.mts +0 -1
- package/node_modules/typebox/build/system/memory/index.mjs +0 -1
- package/node_modules/typebox/build/system/memory/memory.d.mts +0 -6
- package/node_modules/typebox/build/system/memory/memory.mjs +0 -7
- package/node_modules/typebox/build/system/memory/metrics.d.mts +0 -14
- package/node_modules/typebox/build/system/memory/metrics.mjs +0 -8
- package/node_modules/typebox/build/system/memory/update.d.mts +0 -7
- package/node_modules/typebox/build/system/memory/update.mjs +0 -32
- package/node_modules/typebox/build/system/settings/index.d.mts +0 -1
- package/node_modules/typebox/build/system/settings/index.mjs +0 -1
- package/node_modules/typebox/build/system/settings/settings.d.mts +0 -56
- package/node_modules/typebox/build/system/settings/settings.mjs +0 -32
- package/node_modules/typebox/build/system/system.d.mts +0 -6
- package/node_modules/typebox/build/system/system.mjs +0 -6
- package/node_modules/typebox/build/system/unreachable/index.d.mts +0 -1
- package/node_modules/typebox/build/system/unreachable/index.mjs +0 -1
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +0 -3
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +0 -6
- package/node_modules/typebox/build/type/action/_optional.d.mts +0 -19
- package/node_modules/typebox/build/type/action/_optional.mjs +0 -40
- package/node_modules/typebox/build/type/action/_readonly.d.mts +0 -19
- package/node_modules/typebox/build/type/action/_readonly.mjs +0 -40
- package/node_modules/typebox/build/type/action/awaited.d.mts +0 -15
- package/node_modules/typebox/build/type/action/awaited.mjs +0 -15
- package/node_modules/typebox/build/type/action/capitalize.d.mts +0 -11
- package/node_modules/typebox/build/type/action/capitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/conditional.d.mts +0 -13
- package/node_modules/typebox/build/type/action/conditional.mjs +0 -12
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +0 -11
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/evaluate.d.mts +0 -11
- package/node_modules/typebox/build/type/action/evaluate.mjs +0 -11
- package/node_modules/typebox/build/type/action/exclude.d.mts +0 -11
- package/node_modules/typebox/build/type/action/exclude.mjs +0 -11
- package/node_modules/typebox/build/type/action/extract.d.mts +0 -11
- package/node_modules/typebox/build/type/action/extract.mjs +0 -11
- package/node_modules/typebox/build/type/action/index.d.mts +0 -27
- package/node_modules/typebox/build/type/action/index.mjs +0 -27
- package/node_modules/typebox/build/type/action/indexed.d.mts +0 -14
- package/node_modules/typebox/build/type/action/indexed.mjs +0 -14
- package/node_modules/typebox/build/type/action/instance_type.d.mts +0 -11
- package/node_modules/typebox/build/type/action/instance_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/interface.d.mts +0 -14
- package/node_modules/typebox/build/type/action/interface.mjs +0 -22
- package/node_modules/typebox/build/type/action/keyof.d.mts +0 -11
- package/node_modules/typebox/build/type/action/keyof.mjs +0 -11
- package/node_modules/typebox/build/type/action/lowercase.d.mts +0 -11
- package/node_modules/typebox/build/type/action/lowercase.mjs +0 -11
- package/node_modules/typebox/build/type/action/mapped.d.mts +0 -14
- package/node_modules/typebox/build/type/action/mapped.mjs +0 -12
- package/node_modules/typebox/build/type/action/module.d.mts +0 -12
- package/node_modules/typebox/build/type/action/module.mjs +0 -12
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +0 -11
- package/node_modules/typebox/build/type/action/non_nullable.mjs +0 -11
- package/node_modules/typebox/build/type/action/omit.d.mts +0 -14
- package/node_modules/typebox/build/type/action/omit.mjs +0 -14
- package/node_modules/typebox/build/type/action/options.d.mts +0 -11
- package/node_modules/typebox/build/type/action/options.mjs +0 -11
- package/node_modules/typebox/build/type/action/parameters.d.mts +0 -11
- package/node_modules/typebox/build/type/action/parameters.mjs +0 -11
- package/node_modules/typebox/build/type/action/partial.d.mts +0 -11
- package/node_modules/typebox/build/type/action/partial.mjs +0 -11
- package/node_modules/typebox/build/type/action/pick.d.mts +0 -14
- package/node_modules/typebox/build/type/action/pick.mjs +0 -14
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -16
- package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -16
- package/node_modules/typebox/build/type/action/required.d.mts +0 -11
- package/node_modules/typebox/build/type/action/required.mjs +0 -11
- package/node_modules/typebox/build/type/action/return_type.d.mts +0 -11
- package/node_modules/typebox/build/type/action/return_type.mjs +0 -11
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +0 -11
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +0 -11
- package/node_modules/typebox/build/type/action/uppercase.d.mts +0 -11
- package/node_modules/typebox/build/type/action/uppercase.mjs +0 -11
- package/node_modules/typebox/build/type/engine/awaited/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +0 -20
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +0 -53
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +0 -23
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +0 -48
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +0 -33
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +0 -25
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +0 -27
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +0 -24
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +0 -19
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +0 -24
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +0 -51
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +0 -25
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +0 -53
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +0 -31
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +0 -53
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +0 -30
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +0 -16
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +0 -24
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -2
- package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -2
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +0 -9
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +0 -47
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +0 -22
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +0 -30
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +0 -63
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +0 -27
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +0 -45
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +0 -27
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +0 -11
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +0 -12
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +0 -11
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +0 -24
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/extract/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +0 -24
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +0 -3
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +0 -8
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +0 -15
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +0 -3
- package/node_modules/typebox/build/type/engine/index.d.mts +0 -31
- package/node_modules/typebox/build/type/engine/index.mjs +0 -37
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +0 -17
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +0 -22
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +0 -12
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +0 -18
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +0 -40
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +0 -35
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +0 -14
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +0 -165
- package/node_modules/typebox/build/type/engine/instantiate.mjs +0 -159
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/interface/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +0 -18
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +0 -23
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +0 -9
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +0 -8
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +0 -13
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +0 -38
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +0 -52
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +0 -8
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +0 -20
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +0 -23
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +0 -25
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +0 -22
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +0 -42
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +0 -34
- package/node_modules/typebox/build/type/engine/module/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/module/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +0 -21
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +0 -34
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +0 -14
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +0 -17
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +0 -22
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +0 -4
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +0 -9
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +0 -14
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +0 -19
- package/node_modules/typebox/build/type/engine/object/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +0 -18
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/omit/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/options/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/options/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +0 -14
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +0 -15
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +0 -24
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +0 -7
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +0 -17
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/partial/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +0 -2
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +0 -2
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +0 -11
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +0 -13
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +0 -20
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/pick/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +0 -16
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +0 -16
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +0 -22
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +0 -24
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +0 -40
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +0 -4
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +0 -6
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +0 -11
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +0 -10
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +0 -7
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +0 -12
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +0 -20
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +0 -39
- package/node_modules/typebox/build/type/engine/record/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/record/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +0 -17
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +0 -3
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +0 -7
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/ref/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +0 -10
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +0 -10
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +0 -7
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +0 -8
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +0 -11
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +0 -17
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +0 -5
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +0 -7
- package/node_modules/typebox/build/type/engine/required/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/required/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/rest/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +0 -19
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +0 -1
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +0 -21
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +0 -1
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +0 -5
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +0 -30
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +0 -33
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +0 -81
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +0 -9
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +0 -15
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +0 -26
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +0 -6
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +0 -9
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +0 -18
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +0 -2
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +0 -19
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +0 -32
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +0 -12
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +0 -14
- package/node_modules/typebox/build/type/extends/any.d.mts +0 -9
- package/node_modules/typebox/build/type/extends/any.mjs +0 -12
- package/node_modules/typebox/build/type/extends/array.d.mts +0 -20
- package/node_modules/typebox/build/type/extends/array.mjs +0 -21
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +0 -9
- package/node_modules/typebox/build/type/extends/bigint.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/bigint.mjs +0 -9
- package/node_modules/typebox/build/type/extends/boolean.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/boolean.mjs +0 -9
- package/node_modules/typebox/build/type/extends/constructor.d.mts +0 -10
- package/node_modules/typebox/build/type/extends/constructor.mjs +0 -17
- package/node_modules/typebox/build/type/extends/enum.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/enum.mjs +0 -6
- package/node_modules/typebox/build/type/extends/extends.d.mts +0 -13
- package/node_modules/typebox/build/type/extends/extends.mjs +0 -17
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +0 -55
- package/node_modules/typebox/build/type/extends/extends_left.mjs +0 -83
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +0 -25
- package/node_modules/typebox/build/type/extends/extends_right.mjs +0 -44
- package/node_modules/typebox/build/type/extends/function.d.mts +0 -10
- package/node_modules/typebox/build/type/extends/function.mjs +0 -17
- package/node_modules/typebox/build/type/extends/index.d.mts +0 -2
- package/node_modules/typebox/build/type/extends/index.mjs +0 -2
- package/node_modules/typebox/build/type/extends/inference.d.mts +0 -34
- package/node_modules/typebox/build/type/extends/inference.mjs +0 -62
- package/node_modules/typebox/build/type/extends/integer.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/integer.mjs +0 -10
- package/node_modules/typebox/build/type/extends/intersect.d.mts +0 -6
- package/node_modules/typebox/build/type/extends/intersect.mjs +0 -15
- package/node_modules/typebox/build/type/extends/iterator.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/iterator.mjs +0 -9
- package/node_modules/typebox/build/type/extends/literal.d.mts +0 -18
- package/node_modules/typebox/build/type/extends/literal.mjs +0 -44
- package/node_modules/typebox/build/type/extends/never.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/never.mjs +0 -9
- package/node_modules/typebox/build/type/extends/null.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/null.mjs +0 -9
- package/node_modules/typebox/build/type/extends/number.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/number.mjs +0 -9
- package/node_modules/typebox/build/type/extends/object.d.mts +0 -25
- package/node_modules/typebox/build/type/extends/object.mjs +0 -87
- package/node_modules/typebox/build/type/extends/parameters.d.mts +0 -15
- package/node_modules/typebox/build/type/extends/parameters.mjs +0 -28
- package/node_modules/typebox/build/type/extends/promise.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/promise.mjs +0 -9
- package/node_modules/typebox/build/type/extends/result.d.mts +0 -24
- package/node_modules/typebox/build/type/extends/result.mjs +0 -36
- package/node_modules/typebox/build/type/extends/return_type.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/return_type.mjs +0 -9
- package/node_modules/typebox/build/type/extends/string.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/string.mjs +0 -9
- package/node_modules/typebox/build/type/extends/symbol.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/symbol.mjs +0 -9
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +0 -6
- package/node_modules/typebox/build/type/extends/template_literal.mjs +0 -7
- package/node_modules/typebox/build/type/extends/tuple.d.mts +0 -25
- package/node_modules/typebox/build/type/extends/tuple.mjs +0 -60
- package/node_modules/typebox/build/type/extends/undefined.d.mts +0 -8
- package/node_modules/typebox/build/type/extends/undefined.mjs +0 -10
- package/node_modules/typebox/build/type/extends/union.d.mts +0 -11
- package/node_modules/typebox/build/type/extends/union.mjs +0 -24
- package/node_modules/typebox/build/type/extends/unknown.d.mts +0 -9
- package/node_modules/typebox/build/type/extends/unknown.mjs +0 -12
- package/node_modules/typebox/build/type/extends/void.d.mts +0 -7
- package/node_modules/typebox/build/type/extends/void.mjs +0 -9
- package/node_modules/typebox/build/type/index.d.mts +0 -5
- package/node_modules/typebox/build/type/index.mjs +0 -5
- package/node_modules/typebox/build/type/script/index.d.mts +0 -1
- package/node_modules/typebox/build/type/script/index.mjs +0 -1
- package/node_modules/typebox/build/type/script/mapping.d.mts +0 -365
- package/node_modules/typebox/build/type/script/mapping.mjs +0 -532
- package/node_modules/typebox/build/type/script/parser.d.mts +0 -260
- package/node_modules/typebox/build/type/script/parser.mjs +0 -135
- package/node_modules/typebox/build/type/script/script.d.mts +0 -17
- package/node_modules/typebox/build/type/script/script.mjs +0 -21
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +0 -8
- package/node_modules/typebox/build/type/script/token/bigint.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/const.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/const.mjs +0 -18
- package/node_modules/typebox/build/type/script/token/ident.d.mts +0 -16
- package/node_modules/typebox/build/type/script/token/ident.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/index.d.mts +0 -12
- package/node_modules/typebox/build/type/script/token/index.mjs +0 -12
- package/node_modules/typebox/build/type/script/token/integer.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/integer.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +0 -75
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +0 -1
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +0 -15
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +0 -7
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +0 -14
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +0 -6
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +0 -11
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +0 -5
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +0 -6
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +0 -30
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +0 -19
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +0 -34
- package/node_modules/typebox/build/type/script/token/number.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/number.mjs +0 -19
- package/node_modules/typebox/build/type/script/token/rest.d.mts +0 -4
- package/node_modules/typebox/build/type/script/token/rest.mjs +0 -9
- package/node_modules/typebox/build/type/script/token/span.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/span.mjs +0 -24
- package/node_modules/typebox/build/type/script/token/string.d.mts +0 -11
- package/node_modules/typebox/build/type/script/token/string.mjs +0 -20
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +0 -16
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +0 -26
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +0 -17
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +0 -38
- package/node_modules/typebox/build/type/script/token/until.d.mts +0 -7
- package/node_modules/typebox/build/type/script/token/until.mjs +0 -21
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +0 -5
- package/node_modules/typebox/build/type/script/token/until_1.mjs +0 -12
- package/node_modules/typebox/build/type/types/_codec.d.mts +0 -30
- package/node_modules/typebox/build/type/types/_codec.mjs +0 -61
- package/node_modules/typebox/build/type/types/_immutable.d.mts +0 -16
- package/node_modules/typebox/build/type/types/_immutable.mjs +0 -26
- package/node_modules/typebox/build/type/types/_optional.d.mts +0 -16
- package/node_modules/typebox/build/type/types/_optional.mjs +0 -27
- package/node_modules/typebox/build/type/types/_readonly.d.mts +0 -16
- package/node_modules/typebox/build/type/types/_readonly.mjs +0 -26
- package/node_modules/typebox/build/type/types/_refine.d.mts +0 -26
- package/node_modules/typebox/build/type/types/_refine.mjs +0 -37
- package/node_modules/typebox/build/type/types/any.d.mts +0 -10
- package/node_modules/typebox/build/type/types/any.mjs +0 -18
- package/node_modules/typebox/build/type/types/array.d.mts +0 -18
- package/node_modules/typebox/build/type/types/array.mjs +0 -25
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +0 -20
- package/node_modules/typebox/build/type/types/async_iterator.mjs +0 -28
- package/node_modules/typebox/build/type/types/base.d.mts +0 -50
- package/node_modules/typebox/build/type/types/base.mjs +0 -84
- package/node_modules/typebox/build/type/types/bigint.d.mts +0 -12
- package/node_modules/typebox/build/type/types/bigint.mjs +0 -21
- package/node_modules/typebox/build/type/types/boolean.d.mts +0 -11
- package/node_modules/typebox/build/type/types/boolean.mjs +0 -17
- package/node_modules/typebox/build/type/types/call.d.mts +0 -16
- package/node_modules/typebox/build/type/types/call.mjs +0 -22
- package/node_modules/typebox/build/type/types/constructor.d.mts +0 -18
- package/node_modules/typebox/build/type/types/constructor.mjs +0 -24
- package/node_modules/typebox/build/type/types/cyclic.d.mts +0 -16
- package/node_modules/typebox/build/type/types/cyclic.mjs +0 -29
- package/node_modules/typebox/build/type/types/deferred.d.mts +0 -12
- package/node_modules/typebox/build/type/types/deferred.mjs +0 -16
- package/node_modules/typebox/build/type/types/enum.d.mts +0 -16
- package/node_modules/typebox/build/type/types/enum.mjs +0 -17
- package/node_modules/typebox/build/type/types/function.d.mts +0 -21
- package/node_modules/typebox/build/type/types/function.mjs +0 -25
- package/node_modules/typebox/build/type/types/generic.d.mts +0 -13
- package/node_modules/typebox/build/type/types/generic.mjs +0 -17
- package/node_modules/typebox/build/type/types/identifier.d.mts +0 -11
- package/node_modules/typebox/build/type/types/identifier.mjs +0 -17
- package/node_modules/typebox/build/type/types/index.d.mts +0 -48
- package/node_modules/typebox/build/type/types/index.mjs +0 -54
- package/node_modules/typebox/build/type/types/infer.d.mts +0 -15
- package/node_modules/typebox/build/type/types/infer.mjs +0 -20
- package/node_modules/typebox/build/type/types/integer.d.mts +0 -12
- package/node_modules/typebox/build/type/types/integer.mjs +0 -21
- package/node_modules/typebox/build/type/types/intersect.d.mts +0 -15
- package/node_modules/typebox/build/type/types/intersect.mjs +0 -24
- package/node_modules/typebox/build/type/types/iterator.d.mts +0 -20
- package/node_modules/typebox/build/type/types/iterator.mjs +0 -28
- package/node_modules/typebox/build/type/types/literal.d.mts +0 -31
- package/node_modules/typebox/build/type/types/literal.mjs +0 -62
- package/node_modules/typebox/build/type/types/never.d.mts +0 -12
- package/node_modules/typebox/build/type/types/never.mjs +0 -22
- package/node_modules/typebox/build/type/types/null.d.mts +0 -11
- package/node_modules/typebox/build/type/types/null.mjs +0 -17
- package/node_modules/typebox/build/type/types/number.d.mts +0 -12
- package/node_modules/typebox/build/type/types/number.mjs +0 -21
- package/node_modules/typebox/build/type/types/object.d.mts +0 -18
- package/node_modules/typebox/build/type/types/object.mjs +0 -28
- package/node_modules/typebox/build/type/types/parameter.d.mts +0 -17
- package/node_modules/typebox/build/type/types/parameter.mjs +0 -21
- package/node_modules/typebox/build/type/types/promise.d.mts +0 -21
- package/node_modules/typebox/build/type/types/promise.mjs +0 -29
- package/node_modules/typebox/build/type/types/properties.d.mts +0 -43
- package/node_modules/typebox/build/type/types/properties.mjs +0 -15
- package/node_modules/typebox/build/type/types/record.d.mts +0 -46
- package/node_modules/typebox/build/type/types/record.mjs +0 -60
- package/node_modules/typebox/build/type/types/ref.d.mts +0 -19
- package/node_modules/typebox/build/type/types/ref.mjs +0 -18
- package/node_modules/typebox/build/type/types/rest.d.mts +0 -11
- package/node_modules/typebox/build/type/types/rest.mjs +0 -17
- package/node_modules/typebox/build/type/types/schema.d.mts +0 -176
- package/node_modules/typebox/build/type/types/schema.mjs +0 -15
- package/node_modules/typebox/build/type/types/static.d.mts +0 -48
- package/node_modules/typebox/build/type/types/static.mjs +0 -3
- package/node_modules/typebox/build/type/types/string.d.mts +0 -12
- package/node_modules/typebox/build/type/types/string.mjs +0 -22
- package/node_modules/typebox/build/type/types/symbol.d.mts +0 -11
- package/node_modules/typebox/build/type/types/symbol.mjs +0 -17
- package/node_modules/typebox/build/type/types/template_literal.d.mts +0 -28
- package/node_modules/typebox/build/type/types/template_literal.mjs +0 -37
- package/node_modules/typebox/build/type/types/this.d.mts +0 -14
- package/node_modules/typebox/build/type/types/this.mjs +0 -17
- package/node_modules/typebox/build/type/types/tuple.d.mts +0 -38
- package/node_modules/typebox/build/type/types/tuple.mjs +0 -25
- package/node_modules/typebox/build/type/types/undefined.d.mts +0 -11
- package/node_modules/typebox/build/type/types/undefined.mjs +0 -17
- package/node_modules/typebox/build/type/types/union.d.mts +0 -15
- package/node_modules/typebox/build/type/types/union.mjs +0 -24
- package/node_modules/typebox/build/type/types/unknown.d.mts +0 -10
- package/node_modules/typebox/build/type/types/unknown.mjs +0 -17
- package/node_modules/typebox/build/type/types/unsafe.d.mts +0 -10
- package/node_modules/typebox/build/type/types/unsafe.mjs +0 -20
- package/node_modules/typebox/build/type/types/void.d.mts +0 -11
- package/node_modules/typebox/build/type/types/void.mjs +0 -17
- package/node_modules/typebox/build/typebox.d.mts +0 -73
- package/node_modules/typebox/build/typebox.mjs +0 -89
- package/node_modules/typebox/build/value/assert/assert.d.mts +0 -14
- package/node_modules/typebox/build/value/assert/assert.mjs +0 -28
- package/node_modules/typebox/build/value/assert/index.d.mts +0 -1
- package/node_modules/typebox/build/value/assert/index.mjs +0 -1
- package/node_modules/typebox/build/value/check/check.d.mts +0 -5
- package/node_modules/typebox/build/value/check/check.mjs +0 -11
- package/node_modules/typebox/build/value/check/index.d.mts +0 -1
- package/node_modules/typebox/build/value/check/index.mjs +0 -1
- package/node_modules/typebox/build/value/clean/additional.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/additional.mjs +0 -6
- package/node_modules/typebox/build/value/clean/clean.d.mts +0 -15
- package/node_modules/typebox/build/value/clean/clean.mjs +0 -15
- package/node_modules/typebox/build/value/clean/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_array.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +0 -26
- package/node_modules/typebox/build/value/clean/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_object.mjs +0 -31
- package/node_modules/typebox/build/value/clean/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_record.mjs +0 -32
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/clean/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_type.mjs +0 -23
- package/node_modules/typebox/build/value/clean/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/clean/from_union.mjs +0 -13
- package/node_modules/typebox/build/value/clean/index.d.mts +0 -1
- package/node_modules/typebox/build/value/clean/index.mjs +0 -1
- package/node_modules/typebox/build/value/clone/clone.d.mts +0 -5
- package/node_modules/typebox/build/value/clone/clone.mjs +0 -83
- package/node_modules/typebox/build/value/clone/index.d.mts +0 -1
- package/node_modules/typebox/build/value/clone/index.mjs +0 -1
- package/node_modules/typebox/build/value/codec/callback.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/callback.mjs +0 -25
- package/node_modules/typebox/build/value/codec/decode.d.mts +0 -12
- package/node_modules/typebox/build/value/codec/decode.mjs +0 -50
- package/node_modules/typebox/build/value/codec/encode.d.mts +0 -12
- package/node_modules/typebox/build/value/codec/encode.mjs +0 -50
- package/node_modules/typebox/build/value/codec/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_array.mjs +0 -38
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +0 -8
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +0 -58
- package/node_modules/typebox/build/value/codec/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_object.mjs +0 -45
- package/node_modules/typebox/build/value/codec/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_record.mjs +0 -44
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_ref.mjs +0 -31
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +0 -35
- package/node_modules/typebox/build/value/codec/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_type.mjs +0 -22
- package/node_modules/typebox/build/value/codec/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/codec/from_union.mjs +0 -40
- package/node_modules/typebox/build/value/codec/has.d.mts +0 -5
- package/node_modules/typebox/build/value/codec/has.mjs +0 -93
- package/node_modules/typebox/build/value/codec/index.d.mts +0 -3
- package/node_modules/typebox/build/value/codec/index.mjs +0 -3
- package/node_modules/typebox/build/value/convert/convert.d.mts +0 -13
- package/node_modules/typebox/build/value/convert/convert.mjs +0 -15
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +0 -6
- package/node_modules/typebox/build/value/convert/from_additional.mjs +0 -18
- package/node_modules/typebox/build/value/convert/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_array.mjs +0 -7
- package/node_modules/typebox/build/value/convert/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_enum.mjs +0 -7
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_integer.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_literal.mjs +0 -44
- package/node_modules/typebox/build/value/convert/from_null.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_null.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_number.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_number.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_object.mjs +0 -28
- package/node_modules/typebox/build/value/convert/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_record.mjs +0 -23
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_ref.mjs +0 -8
- package/node_modules/typebox/build/value/convert/from_string.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_string.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +0 -7
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +0 -11
- package/node_modules/typebox/build/value/convert/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_type.mjs +0 -45
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +0 -6
- package/node_modules/typebox/build/value/convert/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_union.mjs +0 -13
- package/node_modules/typebox/build/value/convert/from_void.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/from_void.mjs +0 -6
- package/node_modules/typebox/build/value/convert/index.d.mts +0 -1
- package/node_modules/typebox/build/value/convert/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/index.d.mts +0 -1
- package/node_modules/typebox/build/value/convert/try/index.mjs +0 -1
- package/node_modules/typebox/build/value/convert/try/try.d.mts +0 -8
- package/node_modules/typebox/build/value/convert/try/try.mjs +0 -8
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +0 -6
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +0 -45
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +0 -41
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +0 -44
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +0 -8
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +0 -17
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +0 -12
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +0 -44
- package/node_modules/typebox/build/value/create/create.d.mts +0 -5
- package/node_modules/typebox/build/value/create/create.mjs +0 -11
- package/node_modules/typebox/build/value/create/error.d.mts +0 -5
- package/node_modules/typebox/build/value/create/error.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_array.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_base.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_bigint.mjs +0 -7
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_boolean.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_constructor.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_default.d.mts +0 -3
- package/node_modules/typebox/build/value/create/from_default.mjs +0 -10
- package/node_modules/typebox/build/value/create/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_enum.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_function.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_function.mjs +0 -6
- package/node_modules/typebox/build/value/create/from_integer.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_integer.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_iterator.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_literal.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_never.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_never.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_null.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_null.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_number.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_number.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_object.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_promise.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_promise.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_record.mjs +0 -8
- package/node_modules/typebox/build/value/create/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_string.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_string.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_symbol.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +0 -11
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_tuple.mjs +0 -5
- package/node_modules/typebox/build/value/create/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_type.mjs +0 -69
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_undefined.mjs +0 -4
- package/node_modules/typebox/build/value/create/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_union.mjs +0 -9
- package/node_modules/typebox/build/value/create/from_void.d.mts +0 -2
- package/node_modules/typebox/build/value/create/from_void.mjs +0 -4
- package/node_modules/typebox/build/value/create/index.d.mts +0 -2
- package/node_modules/typebox/build/value/create/index.mjs +0 -2
- package/node_modules/typebox/build/value/default/default.d.mts +0 -13
- package/node_modules/typebox/build/value/default/default.mjs +0 -15
- package/node_modules/typebox/build/value/default/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_array.mjs +0 -12
- package/node_modules/typebox/build/value/default/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_base.mjs +0 -5
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +0 -7
- package/node_modules/typebox/build/value/default/from_default.d.mts +0 -3
- package/node_modules/typebox/build/value/default/from_default.mjs +0 -13
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_intersect.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_object.mjs +0 -32
- package/node_modules/typebox/build/value/default/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_record.mjs +0 -26
- package/node_modules/typebox/build/value/default/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_tuple.mjs +0 -14
- package/node_modules/typebox/build/value/default/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_type.mjs +0 -27
- package/node_modules/typebox/build/value/default/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/default/from_union.mjs +0 -14
- package/node_modules/typebox/build/value/default/index.d.mts +0 -1
- package/node_modules/typebox/build/value/default/index.mjs +0 -1
- package/node_modules/typebox/build/value/delta/diff.d.mts +0 -10
- package/node_modules/typebox/build/value/delta/diff.mjs +0 -135
- package/node_modules/typebox/build/value/delta/edit.d.mts +0 -24
- package/node_modules/typebox/build/value/delta/edit.mjs +0 -17
- package/node_modules/typebox/build/value/delta/index.d.mts +0 -3
- package/node_modules/typebox/build/value/delta/index.mjs +0 -3
- package/node_modules/typebox/build/value/delta/patch.d.mts +0 -8
- package/node_modules/typebox/build/value/delta/patch.mjs +0 -42
- package/node_modules/typebox/build/value/equal/equal.d.mts +0 -2
- package/node_modules/typebox/build/value/equal/equal.mjs +0 -6
- package/node_modules/typebox/build/value/equal/index.d.mts +0 -1
- package/node_modules/typebox/build/value/equal/index.mjs +0 -1
- package/node_modules/typebox/build/value/errors/errors.d.mts +0 -16
- package/node_modules/typebox/build/value/errors/errors.mjs +0 -17
- package/node_modules/typebox/build/value/errors/index.d.mts +0 -1
- package/node_modules/typebox/build/value/errors/index.mjs +0 -1
- package/node_modules/typebox/build/value/hash/hash.d.mts +0 -6
- package/node_modules/typebox/build/value/hash/hash.mjs +0 -10
- package/node_modules/typebox/build/value/hash/index.d.mts +0 -1
- package/node_modules/typebox/build/value/hash/index.mjs +0 -1
- package/node_modules/typebox/build/value/index.d.mts +0 -21
- package/node_modules/typebox/build/value/index.mjs +0 -30
- package/node_modules/typebox/build/value/mutate/error.d.mts +0 -3
- package/node_modules/typebox/build/value/mutate/error.mjs +0 -6
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_array.mjs +0 -16
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_object.mjs +0 -40
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +0 -7
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +0 -2
- package/node_modules/typebox/build/value/mutate/from_value.mjs +0 -12
- package/node_modules/typebox/build/value/mutate/index.d.mts +0 -1
- package/node_modules/typebox/build/value/mutate/index.mjs +0 -1
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +0 -11
- package/node_modules/typebox/build/value/mutate/mutate.mjs +0 -41
- package/node_modules/typebox/build/value/parse/index.d.mts +0 -1
- package/node_modules/typebox/build/value/parse/index.mjs +0 -1
- package/node_modules/typebox/build/value/parse/parse.d.mts +0 -11
- package/node_modules/typebox/build/value/parse/parse.mjs +0 -47
- package/node_modules/typebox/build/value/pipeline/index.d.mts +0 -1
- package/node_modules/typebox/build/value/pipeline/index.mjs +0 -1
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +0 -10
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +0 -15
- package/node_modules/typebox/build/value/pointer/index.d.mts +0 -1
- package/node_modules/typebox/build/value/pointer/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/error.d.mts +0 -7
- package/node_modules/typebox/build/value/repair/error.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_array.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_array.mjs +0 -39
- package/node_modules/typebox/build/value/repair/from_base.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_base.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_enum.mjs +0 -7
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +0 -8
- package/node_modules/typebox/build/value/repair/from_object.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_object.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_record.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_record.mjs +0 -33
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_ref.mjs +0 -9
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +0 -7
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +0 -12
- package/node_modules/typebox/build/value/repair/from_type.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_type.mjs +0 -86
- package/node_modules/typebox/build/value/repair/from_union.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_union.mjs +0 -24
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +0 -2
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +0 -12
- package/node_modules/typebox/build/value/repair/index.d.mts +0 -1
- package/node_modules/typebox/build/value/repair/index.mjs +0 -1
- package/node_modules/typebox/build/value/repair/repair.d.mts +0 -17
- package/node_modules/typebox/build/value/repair/repair.mjs +0 -20
- package/node_modules/typebox/build/value/shared/index.d.mts +0 -3
- package/node_modules/typebox/build/value/shared/index.mjs +0 -4
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +0 -2
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +0 -15
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +0 -3
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +0 -36
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +0 -3
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +0 -51
- package/node_modules/typebox/build/value/value.d.mts +0 -16
- package/node_modules/typebox/build/value/value.mjs +0 -16
- package/node_modules/typebox/license +0 -23
- package/node_modules/typebox/package.json +0 -87
- package/node_modules/typebox/readme.md +0 -356
|
@@ -1,726 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Type definitions for the subagent extension
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as os from "node:os";
|
|
6
|
-
import * as path from "node:path";
|
|
7
|
-
import type { Message } from "@earendil-works/pi-ai";
|
|
8
|
-
import type { FSWatcher } from "node:fs";
|
|
9
|
-
import type { ExtensionContext } from "@earendil-works/pi-coding-agent";
|
|
10
|
-
|
|
11
|
-
// ============================================================================
|
|
12
|
-
// Basic Types
|
|
13
|
-
// ============================================================================
|
|
14
|
-
|
|
15
|
-
export interface MaxOutputConfig {
|
|
16
|
-
bytes?: number;
|
|
17
|
-
lines?: number;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type OutputMode = "inline" | "file-only";
|
|
21
|
-
|
|
22
|
-
export interface SavedOutputReference {
|
|
23
|
-
path: string;
|
|
24
|
-
bytes: number;
|
|
25
|
-
lines: number;
|
|
26
|
-
message: string;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface TruncationResult {
|
|
30
|
-
text: string;
|
|
31
|
-
truncated: boolean;
|
|
32
|
-
originalBytes?: number;
|
|
33
|
-
originalLines?: number;
|
|
34
|
-
artifactPath?: string;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export interface Usage {
|
|
38
|
-
input: number;
|
|
39
|
-
output: number;
|
|
40
|
-
cacheRead: number;
|
|
41
|
-
cacheWrite: number;
|
|
42
|
-
cost: number;
|
|
43
|
-
turns: number;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface TokenUsage {
|
|
47
|
-
input: number;
|
|
48
|
-
output: number;
|
|
49
|
-
total: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type ActivityState = "active_long_running" | "needs_attention";
|
|
53
|
-
export type ControlEventType = "active_long_running" | "needs_attention";
|
|
54
|
-
export type ControlNotificationChannel = "event" | "async" | "intercom";
|
|
55
|
-
|
|
56
|
-
export interface ControlConfig {
|
|
57
|
-
enabled?: boolean;
|
|
58
|
-
needsAttentionAfterMs?: number;
|
|
59
|
-
activeNoticeAfterMs?: number;
|
|
60
|
-
activeNoticeAfterTurns?: number;
|
|
61
|
-
activeNoticeAfterTokens?: number;
|
|
62
|
-
failedToolAttemptsBeforeAttention?: number;
|
|
63
|
-
notifyOn?: ControlEventType[];
|
|
64
|
-
notifyChannels?: ControlNotificationChannel[];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export interface ResolvedControlConfig {
|
|
68
|
-
enabled: boolean;
|
|
69
|
-
needsAttentionAfterMs: number;
|
|
70
|
-
activeNoticeAfterMs: number;
|
|
71
|
-
activeNoticeAfterTurns?: number;
|
|
72
|
-
activeNoticeAfterTokens?: number;
|
|
73
|
-
failedToolAttemptsBeforeAttention: number;
|
|
74
|
-
notifyOn: ControlEventType[];
|
|
75
|
-
notifyChannels: ControlNotificationChannel[];
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
export interface ControlEvent {
|
|
79
|
-
type: ControlEventType;
|
|
80
|
-
from?: ActivityState;
|
|
81
|
-
to: ActivityState;
|
|
82
|
-
ts: number;
|
|
83
|
-
agent: string;
|
|
84
|
-
index?: number;
|
|
85
|
-
runId: string;
|
|
86
|
-
message: string;
|
|
87
|
-
reason?: "idle" | "completion_guard" | "active_long_running" | "tool_failures" | "time_threshold" | "turn_threshold" | "token_threshold";
|
|
88
|
-
turns?: number;
|
|
89
|
-
tokens?: number;
|
|
90
|
-
toolCount?: number;
|
|
91
|
-
currentTool?: string;
|
|
92
|
-
currentToolDurationMs?: number;
|
|
93
|
-
currentPath?: string;
|
|
94
|
-
elapsedMs?: number;
|
|
95
|
-
recentFailureSummary?: string;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
export type SubagentResultStatus = "completed" | "failed" | "paused" | "detached";
|
|
99
|
-
export type SubagentRunMode = "single" | "parallel" | "chain";
|
|
100
|
-
|
|
101
|
-
export interface SubagentResultIntercomChild {
|
|
102
|
-
agent: string;
|
|
103
|
-
status: SubagentResultStatus;
|
|
104
|
-
summary: string;
|
|
105
|
-
index?: number;
|
|
106
|
-
artifactPath?: string;
|
|
107
|
-
sessionPath?: string;
|
|
108
|
-
intercomTarget?: string;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
export interface SubagentResultIntercomPayload {
|
|
112
|
-
to: string;
|
|
113
|
-
message: string;
|
|
114
|
-
requestId?: string;
|
|
115
|
-
runId: string;
|
|
116
|
-
mode: SubagentRunMode;
|
|
117
|
-
status: SubagentResultStatus;
|
|
118
|
-
summary: string;
|
|
119
|
-
source: "foreground" | "async";
|
|
120
|
-
children: SubagentResultIntercomChild[];
|
|
121
|
-
asyncId?: string;
|
|
122
|
-
asyncDir?: string;
|
|
123
|
-
chainSteps?: number;
|
|
124
|
-
agent?: string;
|
|
125
|
-
index?: number;
|
|
126
|
-
artifactPath?: string;
|
|
127
|
-
sessionPath?: string;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
// ============================================================================
|
|
131
|
-
// Progress Tracking
|
|
132
|
-
// ============================================================================
|
|
133
|
-
|
|
134
|
-
export interface AgentProgress {
|
|
135
|
-
index: number;
|
|
136
|
-
agent: string;
|
|
137
|
-
status: "pending" | "running" | "completed" | "failed" | "detached";
|
|
138
|
-
activityState?: ActivityState;
|
|
139
|
-
task: string;
|
|
140
|
-
skills?: string[];
|
|
141
|
-
lastActivityAt?: number;
|
|
142
|
-
currentTool?: string;
|
|
143
|
-
currentToolArgs?: string;
|
|
144
|
-
currentToolStartedAt?: number;
|
|
145
|
-
currentPath?: string;
|
|
146
|
-
recentTools: Array<{ tool: string; args: string; endMs: number }>;
|
|
147
|
-
recentOutput: string[];
|
|
148
|
-
toolCount: number;
|
|
149
|
-
turnCount?: number;
|
|
150
|
-
tokens: number;
|
|
151
|
-
durationMs: number;
|
|
152
|
-
error?: string;
|
|
153
|
-
failedTool?: string;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
export interface ToolCallSummary {
|
|
157
|
-
text: string;
|
|
158
|
-
expandedText: string;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
interface ProgressSummary {
|
|
162
|
-
toolCount: number;
|
|
163
|
-
tokens: number;
|
|
164
|
-
durationMs: number;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
// ============================================================================
|
|
168
|
-
// Results
|
|
169
|
-
// ============================================================================
|
|
170
|
-
|
|
171
|
-
export interface ModelAttempt {
|
|
172
|
-
model: string;
|
|
173
|
-
success: boolean;
|
|
174
|
-
exitCode?: number | null;
|
|
175
|
-
error?: string;
|
|
176
|
-
usage?: Usage;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export interface SingleResult {
|
|
180
|
-
agent: string;
|
|
181
|
-
task: string;
|
|
182
|
-
exitCode: number;
|
|
183
|
-
detached?: boolean;
|
|
184
|
-
detachedReason?: string;
|
|
185
|
-
interrupted?: boolean;
|
|
186
|
-
messages?: Message[];
|
|
187
|
-
usage: Usage;
|
|
188
|
-
model?: string;
|
|
189
|
-
attemptedModels?: string[];
|
|
190
|
-
modelAttempts?: ModelAttempt[];
|
|
191
|
-
controlEvents?: ControlEvent[];
|
|
192
|
-
error?: string;
|
|
193
|
-
sessionFile?: string;
|
|
194
|
-
skills?: string[];
|
|
195
|
-
skillsWarning?: string;
|
|
196
|
-
progress?: AgentProgress;
|
|
197
|
-
progressSummary?: ProgressSummary;
|
|
198
|
-
toolCalls?: ToolCallSummary[];
|
|
199
|
-
artifactPaths?: ArtifactPaths;
|
|
200
|
-
truncation?: TruncationResult;
|
|
201
|
-
finalOutput?: string;
|
|
202
|
-
outputMode?: OutputMode;
|
|
203
|
-
savedOutputPath?: string;
|
|
204
|
-
outputReference?: SavedOutputReference;
|
|
205
|
-
outputSaveError?: string;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
export interface Details {
|
|
209
|
-
mode: SubagentRunMode | "management";
|
|
210
|
-
runId?: string;
|
|
211
|
-
context?: "fresh" | "fork";
|
|
212
|
-
results: SingleResult[];
|
|
213
|
-
controlEvents?: ControlEvent[];
|
|
214
|
-
asyncId?: string;
|
|
215
|
-
asyncDir?: string;
|
|
216
|
-
progress?: AgentProgress[];
|
|
217
|
-
progressSummary?: ProgressSummary;
|
|
218
|
-
artifacts?: {
|
|
219
|
-
dir: string;
|
|
220
|
-
files: ArtifactPaths[];
|
|
221
|
-
};
|
|
222
|
-
truncation?: {
|
|
223
|
-
truncated: boolean;
|
|
224
|
-
originalBytes?: number;
|
|
225
|
-
originalLines?: number;
|
|
226
|
-
artifactPath?: string;
|
|
227
|
-
};
|
|
228
|
-
// Chain metadata for observability
|
|
229
|
-
chainAgents?: string[]; // Agent names in order, e.g., ["scout", "planner"]
|
|
230
|
-
totalSteps?: number; // Total steps in chain
|
|
231
|
-
currentStepIndex?: number; // 0-indexed current step (for running chains)
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
// ============================================================================
|
|
235
|
-
// Artifacts
|
|
236
|
-
// ============================================================================
|
|
237
|
-
|
|
238
|
-
export interface ArtifactPaths {
|
|
239
|
-
inputPath: string;
|
|
240
|
-
outputPath: string;
|
|
241
|
-
jsonlPath: string;
|
|
242
|
-
metadataPath: string;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
export interface ArtifactConfig {
|
|
246
|
-
enabled: boolean;
|
|
247
|
-
includeInput: boolean;
|
|
248
|
-
includeOutput: boolean;
|
|
249
|
-
includeJsonl: boolean;
|
|
250
|
-
includeMetadata: boolean;
|
|
251
|
-
cleanupDays: number;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
// ============================================================================
|
|
255
|
-
// Async Execution
|
|
256
|
-
// ============================================================================
|
|
257
|
-
|
|
258
|
-
export interface AsyncParallelGroupStatus {
|
|
259
|
-
start: number;
|
|
260
|
-
count: number;
|
|
261
|
-
stepIndex: number;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
export interface AsyncStartedEvent {
|
|
265
|
-
id?: string;
|
|
266
|
-
asyncDir?: string;
|
|
267
|
-
pid?: number;
|
|
268
|
-
sessionId?: string;
|
|
269
|
-
mode?: SubagentRunMode;
|
|
270
|
-
agent?: string;
|
|
271
|
-
agents?: string[];
|
|
272
|
-
chain?: string[];
|
|
273
|
-
chainStepCount?: number;
|
|
274
|
-
parallelGroups?: AsyncParallelGroupStatus[];
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
export interface AsyncStatus {
|
|
278
|
-
runId: string;
|
|
279
|
-
sessionId?: string;
|
|
280
|
-
mode: SubagentRunMode;
|
|
281
|
-
state: "queued" | "running" | "complete" | "failed" | "paused";
|
|
282
|
-
activityState?: ActivityState;
|
|
283
|
-
lastActivityAt?: number;
|
|
284
|
-
currentTool?: string;
|
|
285
|
-
currentToolStartedAt?: number;
|
|
286
|
-
currentPath?: string;
|
|
287
|
-
turnCount?: number;
|
|
288
|
-
toolCount?: number;
|
|
289
|
-
startedAt: number;
|
|
290
|
-
endedAt?: number;
|
|
291
|
-
lastUpdate?: number;
|
|
292
|
-
pid?: number;
|
|
293
|
-
cwd?: string;
|
|
294
|
-
currentStep?: number;
|
|
295
|
-
chainStepCount?: number;
|
|
296
|
-
parallelGroups?: AsyncParallelGroupStatus[];
|
|
297
|
-
steps?: Array<{
|
|
298
|
-
agent: string;
|
|
299
|
-
status: "pending" | "running" | "complete" | "completed" | "failed" | "paused";
|
|
300
|
-
sessionFile?: string;
|
|
301
|
-
activityState?: ActivityState;
|
|
302
|
-
lastActivityAt?: number;
|
|
303
|
-
currentTool?: string;
|
|
304
|
-
currentToolArgs?: string;
|
|
305
|
-
currentToolStartedAt?: number;
|
|
306
|
-
currentPath?: string;
|
|
307
|
-
recentTools?: Array<{ tool: string; args: string; endMs: number }>;
|
|
308
|
-
recentOutput?: string[];
|
|
309
|
-
turnCount?: number;
|
|
310
|
-
toolCount?: number;
|
|
311
|
-
startedAt?: number;
|
|
312
|
-
endedAt?: number;
|
|
313
|
-
durationMs?: number;
|
|
314
|
-
exitCode?: number | null;
|
|
315
|
-
tokens?: TokenUsage;
|
|
316
|
-
skills?: string[];
|
|
317
|
-
model?: string;
|
|
318
|
-
attemptedModels?: string[];
|
|
319
|
-
modelAttempts?: ModelAttempt[];
|
|
320
|
-
error?: string;
|
|
321
|
-
}>;
|
|
322
|
-
sessionDir?: string;
|
|
323
|
-
outputFile?: string;
|
|
324
|
-
totalTokens?: TokenUsage;
|
|
325
|
-
sessionFile?: string;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
export type AsyncJobStep = NonNullable<AsyncStatus["steps"]>[number] & {
|
|
329
|
-
index?: number;
|
|
330
|
-
};
|
|
331
|
-
|
|
332
|
-
export interface AsyncJobState {
|
|
333
|
-
asyncId: string;
|
|
334
|
-
asyncDir: string;
|
|
335
|
-
status: "queued" | "running" | "complete" | "failed" | "paused";
|
|
336
|
-
pid?: number;
|
|
337
|
-
sessionId?: string;
|
|
338
|
-
activityState?: ActivityState;
|
|
339
|
-
lastActivityAt?: number;
|
|
340
|
-
currentTool?: string;
|
|
341
|
-
currentToolStartedAt?: number;
|
|
342
|
-
currentPath?: string;
|
|
343
|
-
turnCount?: number;
|
|
344
|
-
toolCount?: number;
|
|
345
|
-
mode?: SubagentRunMode;
|
|
346
|
-
agents?: string[];
|
|
347
|
-
currentStep?: number;
|
|
348
|
-
chainStepCount?: number;
|
|
349
|
-
parallelGroups?: AsyncParallelGroupStatus[];
|
|
350
|
-
steps?: AsyncJobStep[];
|
|
351
|
-
stepsTotal?: number;
|
|
352
|
-
runningSteps?: number;
|
|
353
|
-
completedSteps?: number;
|
|
354
|
-
hasParallelGroups?: boolean;
|
|
355
|
-
activeParallelGroup?: boolean;
|
|
356
|
-
startedAt?: number;
|
|
357
|
-
updatedAt?: number;
|
|
358
|
-
sessionDir?: string;
|
|
359
|
-
outputFile?: string;
|
|
360
|
-
totalTokens?: TokenUsage;
|
|
361
|
-
sessionFile?: string;
|
|
362
|
-
controlEventCursor?: number;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export interface ForegroundResumeChild {
|
|
366
|
-
agent: string;
|
|
367
|
-
index: number;
|
|
368
|
-
sessionFile?: string;
|
|
369
|
-
status: SubagentResultStatus;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
export interface ForegroundResumeRun {
|
|
373
|
-
runId: string;
|
|
374
|
-
mode: SubagentRunMode;
|
|
375
|
-
cwd: string;
|
|
376
|
-
updatedAt: number;
|
|
377
|
-
children: ForegroundResumeChild[];
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
export interface SubagentState {
|
|
381
|
-
baseCwd: string;
|
|
382
|
-
currentSessionId: string | null;
|
|
383
|
-
asyncJobs: Map<string, AsyncJobState>;
|
|
384
|
-
foregroundRuns?: Map<string, ForegroundResumeRun>;
|
|
385
|
-
foregroundControls: Map<string, {
|
|
386
|
-
runId: string;
|
|
387
|
-
mode: SubagentRunMode;
|
|
388
|
-
startedAt: number;
|
|
389
|
-
updatedAt: number;
|
|
390
|
-
currentAgent?: string;
|
|
391
|
-
currentIndex?: number;
|
|
392
|
-
currentActivityState?: ActivityState;
|
|
393
|
-
lastActivityAt?: number;
|
|
394
|
-
currentTool?: string;
|
|
395
|
-
currentToolStartedAt?: number;
|
|
396
|
-
currentPath?: string;
|
|
397
|
-
turnCount?: number;
|
|
398
|
-
tokens?: number;
|
|
399
|
-
toolCount?: number;
|
|
400
|
-
interrupt?: () => boolean;
|
|
401
|
-
}>;
|
|
402
|
-
lastForegroundControlId: string | null;
|
|
403
|
-
pendingForegroundControlNotices?: Map<string, ReturnType<typeof setTimeout>>;
|
|
404
|
-
cleanupTimers: Map<string, ReturnType<typeof setTimeout>>;
|
|
405
|
-
lastUiContext: ExtensionContext | null;
|
|
406
|
-
poller: NodeJS.Timeout | null;
|
|
407
|
-
completionSeen: Map<string, number>;
|
|
408
|
-
watcher: FSWatcher | null;
|
|
409
|
-
watcherRestartTimer: ReturnType<typeof setTimeout> | null;
|
|
410
|
-
resultFileCoalescer: {
|
|
411
|
-
schedule(file: string, delayMs?: number): boolean;
|
|
412
|
-
clear(): void;
|
|
413
|
-
};
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
// ============================================================================
|
|
417
|
-
// Display
|
|
418
|
-
// ============================================================================
|
|
419
|
-
|
|
420
|
-
export type DisplayItem =
|
|
421
|
-
| { type: "text"; text: string }
|
|
422
|
-
| { type: "tool"; name: string; args: Record<string, unknown> };
|
|
423
|
-
|
|
424
|
-
// ============================================================================
|
|
425
|
-
// Error Handling
|
|
426
|
-
// ============================================================================
|
|
427
|
-
|
|
428
|
-
export interface ErrorInfo {
|
|
429
|
-
hasError: boolean;
|
|
430
|
-
exitCode?: number;
|
|
431
|
-
errorType?: string;
|
|
432
|
-
details?: string;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
export interface IntercomEventBus {
|
|
436
|
-
on(channel: string, handler: (data: unknown) => void): () => void;
|
|
437
|
-
emit(channel: string, data: unknown): void;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
export const INTERCOM_DETACH_REQUEST_EVENT = "pi-intercom:detach-request";
|
|
441
|
-
export const INTERCOM_DETACH_RESPONSE_EVENT = "pi-intercom:detach-response";
|
|
442
|
-
export const SUBAGENT_ASYNC_STARTED_EVENT = "subagent:async-started";
|
|
443
|
-
export const SUBAGENT_ASYNC_COMPLETE_EVENT = "subagent:async-complete";
|
|
444
|
-
export const SUBAGENT_CONTROL_EVENT = "subagent:control-event";
|
|
445
|
-
export const SUBAGENT_CONTROL_INTERCOM_EVENT = "subagent:control-intercom";
|
|
446
|
-
export const SUBAGENT_RESULT_INTERCOM_EVENT = "subagent:result-intercom";
|
|
447
|
-
export const SUBAGENT_RESULT_INTERCOM_DELIVERY_EVENT = "subagent:result-intercom-delivery";
|
|
448
|
-
|
|
449
|
-
// ============================================================================
|
|
450
|
-
// Execution Options
|
|
451
|
-
// ============================================================================
|
|
452
|
-
|
|
453
|
-
export interface RunSyncOptions {
|
|
454
|
-
cwd?: string;
|
|
455
|
-
signal?: AbortSignal;
|
|
456
|
-
interruptSignal?: AbortSignal;
|
|
457
|
-
allowIntercomDetach?: boolean;
|
|
458
|
-
intercomEvents?: IntercomEventBus;
|
|
459
|
-
onUpdate?: (r: import("@earendil-works/pi-agent-core").AgentToolResult<Details>) => void;
|
|
460
|
-
onControlEvent?: (event: ControlEvent) => void;
|
|
461
|
-
controlConfig?: ResolvedControlConfig;
|
|
462
|
-
intercomSessionName?: string;
|
|
463
|
-
orchestratorIntercomTarget?: string;
|
|
464
|
-
maxOutput?: MaxOutputConfig;
|
|
465
|
-
artifactsDir?: string;
|
|
466
|
-
artifactConfig?: ArtifactConfig;
|
|
467
|
-
runId: string;
|
|
468
|
-
index?: number;
|
|
469
|
-
sessionDir?: string;
|
|
470
|
-
sessionFile?: string;
|
|
471
|
-
share?: boolean;
|
|
472
|
-
outputPath?: string;
|
|
473
|
-
outputMode?: OutputMode;
|
|
474
|
-
maxSubagentDepth?: number;
|
|
475
|
-
/** Override the agent's default model (format: "provider/id" or just "id") */
|
|
476
|
-
modelOverride?: string;
|
|
477
|
-
/** Registry models available for heuristic bare-model resolution */
|
|
478
|
-
availableModels?: Array<{ provider: string; id: string; fullId: string }>;
|
|
479
|
-
/** Current parent-session provider to prefer for ambiguous bare model ids */
|
|
480
|
-
preferredModelProvider?: string;
|
|
481
|
-
/** Skills to inject (overrides agent default if provided) */
|
|
482
|
-
skills?: string[];
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
export type IntercomBridgeMode = "off" | "fork-only" | "always";
|
|
486
|
-
|
|
487
|
-
export interface IntercomBridgeConfig {
|
|
488
|
-
mode?: IntercomBridgeMode;
|
|
489
|
-
instructionFile?: string;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
interface TopLevelParallelConfig {
|
|
493
|
-
maxTasks?: number;
|
|
494
|
-
concurrency?: number;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
export interface ExtensionConfig {
|
|
498
|
-
asyncByDefault?: boolean;
|
|
499
|
-
forceTopLevelAsync?: boolean;
|
|
500
|
-
defaultSessionDir?: string;
|
|
501
|
-
maxSubagentDepth?: number;
|
|
502
|
-
control?: ControlConfig;
|
|
503
|
-
parallel?: TopLevelParallelConfig;
|
|
504
|
-
worktreeSetupHook?: string;
|
|
505
|
-
worktreeSetupHookTimeoutMs?: number;
|
|
506
|
-
intercomBridge?: IntercomBridgeConfig;
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
// ============================================================================
|
|
510
|
-
// Constants
|
|
511
|
-
// ============================================================================
|
|
512
|
-
|
|
513
|
-
export const DEFAULT_MAX_OUTPUT: Required<MaxOutputConfig> = {
|
|
514
|
-
bytes: 200 * 1024,
|
|
515
|
-
lines: 5000,
|
|
516
|
-
};
|
|
517
|
-
|
|
518
|
-
export const DEFAULT_ARTIFACT_CONFIG: ArtifactConfig = {
|
|
519
|
-
enabled: true,
|
|
520
|
-
includeInput: true,
|
|
521
|
-
includeOutput: true,
|
|
522
|
-
includeJsonl: false,
|
|
523
|
-
includeMetadata: true,
|
|
524
|
-
cleanupDays: 7,
|
|
525
|
-
};
|
|
526
|
-
|
|
527
|
-
function sanitizeTempScopeSegment(value: string): string {
|
|
528
|
-
const sanitized = value
|
|
529
|
-
.trim()
|
|
530
|
-
.replace(/[^A-Za-z0-9._-]+/g, "-")
|
|
531
|
-
.replace(/^-+|-+$/g, "");
|
|
532
|
-
return sanitized || "unknown";
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
export function resolveTempScopeId(options?: {
|
|
536
|
-
env?: NodeJS.ProcessEnv;
|
|
537
|
-
getuid?: (() => number) | undefined;
|
|
538
|
-
userInfo?: (() => { username?: string | null }) | undefined;
|
|
539
|
-
homedir?: (() => string) | undefined;
|
|
540
|
-
}): string {
|
|
541
|
-
const env = options?.env ?? process.env;
|
|
542
|
-
const getuid = options && Object.hasOwn(options, "getuid")
|
|
543
|
-
? options.getuid
|
|
544
|
-
: process.getuid?.bind(process);
|
|
545
|
-
if (typeof getuid === "function") {
|
|
546
|
-
return `uid-${getuid()}`;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
for (const key of ["USERNAME", "USER", "LOGNAME"] as const) {
|
|
550
|
-
const value = env[key];
|
|
551
|
-
if (value) return `user-${sanitizeTempScopeSegment(value)}`;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
const userInfo = options && Object.hasOwn(options, "userInfo")
|
|
555
|
-
? options.userInfo
|
|
556
|
-
: os.userInfo;
|
|
557
|
-
try {
|
|
558
|
-
const username = userInfo?.().username;
|
|
559
|
-
if (username) return `user-${sanitizeTempScopeSegment(username)}`;
|
|
560
|
-
} catch {
|
|
561
|
-
// Fall through to home-directory-based scoping.
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
const homedir = env.USERPROFILE ?? env.HOME;
|
|
565
|
-
if (homedir) return `home-${sanitizeTempScopeSegment(homedir)}`;
|
|
566
|
-
|
|
567
|
-
const resolveHomedir = options && Object.hasOwn(options, "homedir")
|
|
568
|
-
? options.homedir
|
|
569
|
-
: os.homedir;
|
|
570
|
-
try {
|
|
571
|
-
const fallbackHomedir = resolveHomedir?.();
|
|
572
|
-
if (fallbackHomedir) return `home-${sanitizeTempScopeSegment(fallbackHomedir)}`;
|
|
573
|
-
} catch {
|
|
574
|
-
// Fall through to the last-resort shared scope.
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
return "shared";
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
const MAX_PARALLEL = 8;
|
|
581
|
-
export const MAX_CONCURRENCY = 4;
|
|
582
|
-
export const TEMP_ROOT_DIR = path.join(os.tmpdir(), `pi-subagents-${resolveTempScopeId()}`);
|
|
583
|
-
export const RESULTS_DIR = path.join(TEMP_ROOT_DIR, "async-subagent-results");
|
|
584
|
-
export const ASYNC_DIR = path.join(TEMP_ROOT_DIR, "async-subagent-runs");
|
|
585
|
-
export const CHAIN_RUNS_DIR = path.join(TEMP_ROOT_DIR, "chain-runs");
|
|
586
|
-
export const TEMP_ARTIFACTS_DIR = path.join(TEMP_ROOT_DIR, "artifacts");
|
|
587
|
-
export const WIDGET_KEY = "subagent-async";
|
|
588
|
-
export const SLASH_RESULT_TYPE = "subagent-slash-result";
|
|
589
|
-
export const SLASH_SUBAGENT_REQUEST_EVENT = "subagent:slash:request";
|
|
590
|
-
export const SLASH_SUBAGENT_STARTED_EVENT = "subagent:slash:started";
|
|
591
|
-
export const SLASH_SUBAGENT_RESPONSE_EVENT = "subagent:slash:response";
|
|
592
|
-
export const SLASH_SUBAGENT_UPDATE_EVENT = "subagent:slash:update";
|
|
593
|
-
export const SLASH_SUBAGENT_CANCEL_EVENT = "subagent:slash:cancel";
|
|
594
|
-
export const POLL_INTERVAL_MS = 250;
|
|
595
|
-
export const MAX_WIDGET_JOBS = 4;
|
|
596
|
-
export const DEFAULT_SUBAGENT_MAX_DEPTH = 2;
|
|
597
|
-
export const SUBAGENT_ACTIONS = ["list", "get", "create", "update", "delete", "status", "interrupt", "resume", "doctor"] as const;
|
|
598
|
-
|
|
599
|
-
export const DEFAULT_FORK_PREAMBLE =
|
|
600
|
-
"You are a delegated subagent running from a fork of the parent session. " +
|
|
601
|
-
"Treat the inherited conversation as reference-only context, not a live thread to continue. " +
|
|
602
|
-
"Do not continue or answer prior messages as if they are waiting for a reply. " +
|
|
603
|
-
"Your sole job is to execute the task below and return a focused result for that task using your tools.";
|
|
604
|
-
|
|
605
|
-
function normalizeTopLevelParallelValue(value: unknown): number | undefined {
|
|
606
|
-
const parsed = typeof value === "number" ? value : typeof value === "string" ? Number(value) : NaN;
|
|
607
|
-
if (!Number.isInteger(parsed) || parsed < 1) return undefined;
|
|
608
|
-
return parsed;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
export function resolveTopLevelParallelMaxTasks(value: unknown): number {
|
|
612
|
-
return normalizeTopLevelParallelValue(value) ?? MAX_PARALLEL;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
export function resolveTopLevelParallelConcurrency(
|
|
616
|
-
override: unknown,
|
|
617
|
-
configValue: unknown,
|
|
618
|
-
): number {
|
|
619
|
-
return normalizeTopLevelParallelValue(override)
|
|
620
|
-
?? normalizeTopLevelParallelValue(configValue)
|
|
621
|
-
?? MAX_CONCURRENCY;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
export function getAsyncConfigPath(suffix: string): string {
|
|
625
|
-
return path.join(TEMP_ROOT_DIR, `async-cfg-${suffix}.json`);
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
export function wrapForkTask(task: string, preamble?: string | false): string {
|
|
629
|
-
if (preamble === false) return task;
|
|
630
|
-
const effectivePreamble = preamble ?? DEFAULT_FORK_PREAMBLE;
|
|
631
|
-
const wrappedPrefix = `${effectivePreamble}\n\nTask:\n`;
|
|
632
|
-
if (task.startsWith(wrappedPrefix)) return task;
|
|
633
|
-
return `${wrappedPrefix}${task}`;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
// ============================================================================
|
|
637
|
-
// Recursion Depth Guard
|
|
638
|
-
// ============================================================================
|
|
639
|
-
|
|
640
|
-
export function normalizeMaxSubagentDepth(value: unknown): number | undefined {
|
|
641
|
-
const parsed = typeof value === "number" ? value : typeof value === "string" ? Number(value) : NaN;
|
|
642
|
-
if (!Number.isInteger(parsed) || parsed < 0) return undefined;
|
|
643
|
-
return parsed;
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
export function resolveCurrentMaxSubagentDepth(configMaxDepth?: number): number {
|
|
647
|
-
return normalizeMaxSubagentDepth(process.env.PI_SUBAGENT_MAX_DEPTH)
|
|
648
|
-
?? normalizeMaxSubagentDepth(configMaxDepth)
|
|
649
|
-
?? DEFAULT_SUBAGENT_MAX_DEPTH;
|
|
650
|
-
}
|
|
651
|
-
|
|
652
|
-
export function resolveChildMaxSubagentDepth(parentMaxDepth: number, agentMaxDepth?: number): number {
|
|
653
|
-
const normalizedParent = normalizeMaxSubagentDepth(parentMaxDepth) ?? DEFAULT_SUBAGENT_MAX_DEPTH;
|
|
654
|
-
const normalizedAgent = normalizeMaxSubagentDepth(agentMaxDepth);
|
|
655
|
-
return normalizedAgent === undefined ? normalizedParent : Math.min(normalizedParent, normalizedAgent);
|
|
656
|
-
}
|
|
657
|
-
|
|
658
|
-
export function checkSubagentDepth(configMaxDepth?: number): { blocked: boolean; depth: number; maxDepth: number } {
|
|
659
|
-
const depth = Number(process.env.PI_SUBAGENT_DEPTH ?? "0");
|
|
660
|
-
const maxDepth = resolveCurrentMaxSubagentDepth(configMaxDepth);
|
|
661
|
-
const blocked = Number.isFinite(depth) && depth >= maxDepth;
|
|
662
|
-
return { blocked, depth, maxDepth };
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
export function getSubagentDepthEnv(maxDepth?: number): Record<string, string> {
|
|
666
|
-
const parentDepth = Number(process.env.PI_SUBAGENT_DEPTH ?? "0");
|
|
667
|
-
const nextDepth = Number.isFinite(parentDepth) ? parentDepth + 1 : 1;
|
|
668
|
-
return {
|
|
669
|
-
PI_SUBAGENT_DEPTH: String(nextDepth),
|
|
670
|
-
PI_SUBAGENT_MAX_DEPTH: String(normalizeMaxSubagentDepth(maxDepth) ?? resolveCurrentMaxSubagentDepth()),
|
|
671
|
-
};
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
// ============================================================================
|
|
675
|
-
// Utility Functions
|
|
676
|
-
// ============================================================================
|
|
677
|
-
|
|
678
|
-
function formatBytes(bytes: number): string {
|
|
679
|
-
if (bytes < 1024) return `${bytes}B`;
|
|
680
|
-
if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)}KB`;
|
|
681
|
-
return `${(bytes / (1024 * 1024)).toFixed(1)}MB`;
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
export function truncateOutput(
|
|
685
|
-
output: string,
|
|
686
|
-
config: Required<MaxOutputConfig>,
|
|
687
|
-
artifactPath?: string,
|
|
688
|
-
): TruncationResult {
|
|
689
|
-
const lines = output.split("\n");
|
|
690
|
-
const bytes = Buffer.byteLength(output, "utf-8");
|
|
691
|
-
|
|
692
|
-
if (bytes <= config.bytes && lines.length <= config.lines) {
|
|
693
|
-
return { text: output, truncated: false };
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
let truncatedLines = lines;
|
|
697
|
-
if (lines.length > config.lines) {
|
|
698
|
-
truncatedLines = lines.slice(0, config.lines);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
let result = truncatedLines.join("\n");
|
|
702
|
-
if (Buffer.byteLength(result, "utf-8") > config.bytes) {
|
|
703
|
-
let low = 0;
|
|
704
|
-
let high = result.length;
|
|
705
|
-
while (low < high) {
|
|
706
|
-
const mid = Math.floor((low + high + 1) / 2);
|
|
707
|
-
if (Buffer.byteLength(result.slice(0, mid), "utf-8") <= config.bytes) {
|
|
708
|
-
low = mid;
|
|
709
|
-
} else {
|
|
710
|
-
high = mid - 1;
|
|
711
|
-
}
|
|
712
|
-
}
|
|
713
|
-
result = result.slice(0, low);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
const keptLines = result.split("\n").length;
|
|
717
|
-
const marker = `[TRUNCATED: showing first ${keptLines} of ${lines.length} lines, ${formatBytes(Buffer.byteLength(result))} of ${formatBytes(bytes)}${artifactPath ? ` - full output at ${artifactPath}` : ""}]\n`;
|
|
718
|
-
|
|
719
|
-
return {
|
|
720
|
-
text: marker + result,
|
|
721
|
-
truncated: true,
|
|
722
|
-
originalBytes: bytes,
|
|
723
|
-
originalLines: lines.length,
|
|
724
|
-
artifactPath,
|
|
725
|
-
};
|
|
726
|
-
}
|