@openclaw/lobster 2026.5.20 → 2026.5.22
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/node_modules/@clawdbot/lobster/LICENSE +21 -0
- package/node_modules/@clawdbot/lobster/README.md +294 -0
- package/node_modules/@clawdbot/lobster/VISION.md +249 -0
- package/node_modules/@clawdbot/lobster/bin/clawd.invoke.js +18 -0
- package/node_modules/@clawdbot/lobster/bin/lobster.js +24 -0
- package/node_modules/@clawdbot/lobster/bin/openclaw.invoke.js +21 -0
- package/node_modules/@clawdbot/lobster/dist/src/cli.js +576 -0
- package/node_modules/@clawdbot/lobster/dist/src/cli.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/commands_list.js +47 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/commands_list.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/registry.js +66 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/registry.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/approve.js +77 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/approve.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/ask.js +137 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/ask.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/dedupe.js +52 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/dedupe.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/diff_last.js +35 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/diff_last.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/email_triage.js +261 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/email_triage.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/exec.js +116 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/exec.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/gog_gmail_search.js +94 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/gog_gmail_search.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/gog_gmail_send.js +104 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/gog_gmail_send.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/group_by.js +59 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/group_by.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/head.js +34 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/head.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/json.js +20 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/json.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/llm_invoke.js +670 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/llm_invoke.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/llm_task_invoke.js +2 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/llm_task_invoke.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/map.js +100 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/map.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/openclaw_invoke.js +133 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/openclaw_invoke.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/pick.js +42 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/pick.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/sort.js +86 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/sort.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/state.js +76 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/state.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/table.js +58 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/table.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/template.js +72 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/template.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/where.js +74 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/stdlib/where.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/types.js +2 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/types.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/workflows/workflows_list.js +24 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/workflows/workflows_list.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/workflows/workflows_run.js +74 -0
- package/node_modules/@clawdbot/lobster/dist/src/commands/workflows/workflows_run.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/core/index.js +7 -0
- package/node_modules/@clawdbot/lobster/dist/src/core/index.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/core/tool_runtime.js +280 -0
- package/node_modules/@clawdbot/lobster/dist/src/core/tool_runtime.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/parser.js +145 -0
- package/node_modules/@clawdbot/lobster/dist/src/parser.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/pipeline_resume_state.js +143 -0
- package/node_modules/@clawdbot/lobster/dist/src/pipeline_resume_state.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/read_line.js +50 -0
- package/node_modules/@clawdbot/lobster/dist/src/read_line.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/index.js +16 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/index.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/pr-monitor.js +240 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/pr-monitor.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/stages/pr-view.js +100 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/github/stages/pr-view.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/index.js +7 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/index.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/registry.js +30 -0
- package/node_modules/@clawdbot/lobster/dist/src/recipes/registry.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/renderers/json.js +13 -0
- package/node_modules/@clawdbot/lobster/dist/src/renderers/json.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/resume.js +177 -0
- package/node_modules/@clawdbot/lobster/dist/src/resume.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/runtime.js +80 -0
- package/node_modules/@clawdbot/lobster/dist/src/runtime.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/Lobster.js +301 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/Lobster.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/index.js +25 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/index.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/approve.js +47 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/approve.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/diff.js +153 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/diff.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/exec.js +163 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/exec.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/state.js +162 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/primitives/state.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/runtime.js +139 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/runtime.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/token.js +9 -0
- package/node_modules/@clawdbot/lobster/dist/src/sdk/token.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/shell.js +39 -0
- package/node_modules/@clawdbot/lobster/dist/src/shell.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/state/store.js +175 -0
- package/node_modules/@clawdbot/lobster/dist/src/state/store.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/token.js +15 -0
- package/node_modules/@clawdbot/lobster/dist/src/token.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/validation.js +8 -0
- package/node_modules/@clawdbot/lobster/dist/src/validation.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/file.js +1229 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/file.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/github_pr_monitor.js +163 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/github_pr_monitor.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/registry.js +54 -0
- package/node_modules/@clawdbot/lobster/dist/src/workflows/registry.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/approval_id.test.js +148 -0
- package/node_modules/@clawdbot/lobster/dist/test/approval_id.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/approve_preview.test.js +38 -0
- package/node_modules/@clawdbot/lobster/dist/test/approve_preview.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/clawd_invoke.test.js +121 -0
- package/node_modules/@clawdbot/lobster/dist/test/clawd_invoke.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/clawd_invoke_legacy.test.js +63 -0
- package/node_modules/@clawdbot/lobster/dist/test/clawd_invoke_legacy.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/cli_run_file_args_json.test.js +33 -0
- package/node_modules/@clawdbot/lobster/dist/test/cli_run_file_args_json.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/commands_list.test.js +44 -0
- package/node_modules/@clawdbot/lobster/dist/test/commands_list.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/core_tool_runtime.test.js +160 -0
- package/node_modules/@clawdbot/lobster/dist/test/core_tool_runtime.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/dedupe.test.js +46 -0
- package/node_modules/@clawdbot/lobster/dist/test/dedupe.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/diff_last.test.js +46 -0
- package/node_modules/@clawdbot/lobster/dist/test/diff_last.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/doctor.test.js +19 -0
- package/node_modules/@clawdbot/lobster/dist/test/doctor.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/dry_run.test.js +448 -0
- package/node_modules/@clawdbot/lobster/dist/test/dry_run.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/email_triage.test.js +294 -0
- package/node_modules/@clawdbot/lobster/dist/test/email_triage.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/exec_stdin.test.js +43 -0
- package/node_modules/@clawdbot/lobster/dist/test/exec_stdin.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/github_pr_notify_format.test.js +19 -0
- package/node_modules/@clawdbot/lobster/dist/test/github_pr_notify_format.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/github_pr_summary.test.js +41 -0
- package/node_modules/@clawdbot/lobster/dist/test/github_pr_summary.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/group_by.test.js +45 -0
- package/node_modules/@clawdbot/lobster/dist/test/group_by.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/llm_invoke.test.js +166 -0
- package/node_modules/@clawdbot/lobster/dist/test/llm_invoke.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/llm_task_invoke.test.js +341 -0
- package/node_modules/@clawdbot/lobster/dist/test/llm_task_invoke.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/map.test.js +39 -0
- package/node_modules/@clawdbot/lobster/dist/test/map.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/multi_approval_resume.test.js +48 -0
- package/node_modules/@clawdbot/lobster/dist/test/multi_approval_resume.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/openclaw_invoke_alias.test.js +13 -0
- package/node_modules/@clawdbot/lobster/dist/test/openclaw_invoke_alias.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/parser.test.js +39 -0
- package/node_modules/@clawdbot/lobster/dist/test/parser.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/read_line.test.js +25 -0
- package/node_modules/@clawdbot/lobster/dist/test/read_line.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/resume.test.js +76 -0
- package/node_modules/@clawdbot/lobster/dist/test/resume.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/sdk_lobster.test.js +59 -0
- package/node_modules/@clawdbot/lobster/dist/test/sdk_lobster.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/shell.test.js +31 -0
- package/node_modules/@clawdbot/lobster/dist/test/shell.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/sort.test.js +49 -0
- package/node_modules/@clawdbot/lobster/dist/test/sort.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/state.test.js +53 -0
- package/node_modules/@clawdbot/lobster/dist/test/state.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/template.test.js +44 -0
- package/node_modules/@clawdbot/lobster/dist/test/template.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/tool_envelope_version.test.js +15 -0
- package/node_modules/@clawdbot/lobster/dist/test/tool_envelope_version.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/tool_mode.test.js +83 -0
- package/node_modules/@clawdbot/lobster/dist/test/tool_mode.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflow_args_env.test.js +41 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflow_args_env.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflow_file.test.js +562 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflow_file.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflows.test.js +24 -0
- package/node_modules/@clawdbot/lobster/dist/test/workflows.test.js.map +1 -0
- package/node_modules/@clawdbot/lobster/package.json +64 -0
- package/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/ajv/LICENSE +22 -0
- package/node_modules/ajv/README.md +207 -0
- package/node_modules/ajv/dist/2019.d.ts +19 -0
- package/node_modules/ajv/dist/2019.js +61 -0
- package/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/ajv/dist/2020.d.ts +19 -0
- package/node_modules/ajv/dist/2020.js +55 -0
- package/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/ajv/dist/ajv.d.ts +18 -0
- package/node_modules/ajv/dist/ajv.js +50 -0
- package/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
- package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
- package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/ajv/dist/compile/index.js +242 -0
- package/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
- package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
- package/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/ajv/dist/compile/resolve.js +155 -0
- package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
- package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/ajv/dist/compile/validate/index.js +520 -0
- package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/ajv/dist/core.d.ts +174 -0
- package/node_modules/ajv/dist/core.js +618 -0
- package/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/ajv/dist/jtd.d.ts +47 -0
- package/node_modules/ajv/dist/jtd.js +72 -0
- package/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
- package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
- package/node_modules/ajv/dist/runtime/uri.js +6 -0
- package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
- package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/ajv/dist/standalone/index.js +90 -0
- package/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/ajv/dist/types/index.d.ts +183 -0
- package/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
- package/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
- package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
- package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
- package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
- package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
- package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
- package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/ajv/lib/2019.ts +81 -0
- package/node_modules/ajv/lib/2020.ts +75 -0
- package/node_modules/ajv/lib/ajv.ts +70 -0
- package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
- package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
- package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
- package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
- package/node_modules/ajv/lib/compile/resolve.ts +149 -0
- package/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
- package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
- package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/ajv/lib/core.ts +892 -0
- package/node_modules/ajv/lib/jtd.ts +132 -0
- package/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
- package/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/ajv/lib/runtime/uri.ts +6 -0
- package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/ajv/lib/standalone/index.ts +100 -0
- package/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/ajv/lib/types/index.ts +244 -0
- package/node_modules/ajv/lib/types/json-schema.ts +187 -0
- package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
- package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
- package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
- package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
- package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
- package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
- package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/ajv/package.json +126 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fast-uri/.gitattributes +2 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
- package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +30 -0
- package/node_modules/fast-uri/README.md +152 -0
- package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
- package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
- package/node_modules/fast-uri/benchmark/package.json +17 -0
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
- package/node_modules/fast-uri/eslint.config.js +6 -0
- package/node_modules/fast-uri/index.js +406 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +443 -0
- package/node_modules/fast-uri/package.json +68 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/equal.test.js +117 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +501 -0
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
- package/node_modules/fast-uri/test/parse.test.js +323 -0
- package/node_modules/fast-uri/test/resolve.test.js +87 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
- package/node_modules/fast-uri/test/security-normalization.test.js +39 -0
- package/node_modules/fast-uri/test/security.test.js +133 -0
- package/node_modules/fast-uri/test/serialize.test.js +151 -0
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
- package/node_modules/fast-uri/test/uri-js.test.js +912 -0
- package/node_modules/fast-uri/test/util.test.js +38 -0
- package/node_modules/fast-uri/tsconfig.json +9 -0
- package/node_modules/fast-uri/types/index.d.ts +60 -0
- package/node_modules/fast-uri/types/index.test-d.ts +17 -0
- package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/typebox/build/guard/emit.mjs +194 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +69 -0
- package/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
- package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
- package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +12 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +27 -0
- package/node_modules/typebox/build/type/action/index.mjs +27 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
- package/node_modules/typebox/build/type/action/module.d.mts +12 -0
- package/node_modules/typebox/build/type/action/module.mjs +12 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/options.d.mts +11 -0
- package/node_modules/typebox/build/type/action/options.mjs +11 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +6 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/object.mjs +87 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
- package/node_modules/typebox/build/type/script/parser.mjs +135 -0
- package/node_modules/typebox/build/type/script/script.d.mts +17 -0
- package/node_modules/typebox/build/type/script/script.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/typebox/build/type/types/base.mjs +84 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +22 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/typebox/build/type/types/enum.mjs +17 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +48 -0
- package/node_modules/typebox/build/type/types/index.mjs +54 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
- package/node_modules/typebox/build/type/types/promise.mjs +29 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +46 -0
- package/node_modules/typebox/build/type/types/record.mjs +60 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +48 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +73 -0
- package/node_modules/typebox/build/typebox.mjs +89 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +83 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +16 -0
- package/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +356 -0
- package/node_modules/yaml/LICENSE +13 -0
- package/node_modules/yaml/README.md +172 -0
- package/node_modules/yaml/bin.mjs +11 -0
- package/node_modules/yaml/browser/dist/compose/compose-collection.js +88 -0
- package/node_modules/yaml/browser/dist/compose/compose-doc.js +43 -0
- package/node_modules/yaml/browser/dist/compose/compose-node.js +109 -0
- package/node_modules/yaml/browser/dist/compose/compose-scalar.js +86 -0
- package/node_modules/yaml/browser/dist/compose/composer.js +219 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +115 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +198 -0
- package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +49 -0
- package/node_modules/yaml/browser/dist/compose/resolve-end.js +37 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +207 -0
- package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +225 -0
- package/node_modules/yaml/browser/dist/compose/resolve-props.js +146 -0
- package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +34 -0
- package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +26 -0
- package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +15 -0
- package/node_modules/yaml/browser/dist/compose/util-map-includes.js +13 -0
- package/node_modules/yaml/browser/dist/doc/Document.js +335 -0
- package/node_modules/yaml/browser/dist/doc/anchors.js +71 -0
- package/node_modules/yaml/browser/dist/doc/applyReviver.js +55 -0
- package/node_modules/yaml/browser/dist/doc/createNode.js +88 -0
- package/node_modules/yaml/browser/dist/doc/directives.js +176 -0
- package/node_modules/yaml/browser/dist/errors.js +57 -0
- package/node_modules/yaml/browser/dist/index.js +17 -0
- package/node_modules/yaml/browser/dist/log.js +11 -0
- package/node_modules/yaml/browser/dist/nodes/Alias.js +116 -0
- package/node_modules/yaml/browser/dist/nodes/Collection.js +147 -0
- package/node_modules/yaml/browser/dist/nodes/Node.js +38 -0
- package/node_modules/yaml/browser/dist/nodes/Pair.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/Scalar.js +24 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +144 -0
- package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +113 -0
- package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +63 -0
- package/node_modules/yaml/browser/dist/nodes/identity.js +36 -0
- package/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/node_modules/yaml/browser/dist/parse/cst-scalar.js +214 -0
- package/node_modules/yaml/browser/dist/parse/cst-stringify.js +61 -0
- package/node_modules/yaml/browser/dist/parse/cst-visit.js +97 -0
- package/node_modules/yaml/browser/dist/parse/cst.js +98 -0
- package/node_modules/yaml/browser/dist/parse/lexer.js +721 -0
- package/node_modules/yaml/browser/dist/parse/line-counter.js +39 -0
- package/node_modules/yaml/browser/dist/parse/parser.js +975 -0
- package/node_modules/yaml/browser/dist/public-api.js +102 -0
- package/node_modules/yaml/browser/dist/schema/Schema.js +37 -0
- package/node_modules/yaml/browser/dist/schema/common/map.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/node_modules/yaml/browser/dist/schema/common/seq.js +17 -0
- package/node_modules/yaml/browser/dist/schema/common/string.js +14 -0
- package/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/node_modules/yaml/browser/dist/schema/core/float.js +43 -0
- package/node_modules/yaml/browser/dist/schema/core/int.js +38 -0
- package/node_modules/yaml/browser/dist/schema/core/schema.js +23 -0
- package/node_modules/yaml/browser/dist/schema/json/schema.js +62 -0
- package/node_modules/yaml/browser/dist/schema/tags.js +96 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +58 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +26 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +46 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +71 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +67 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +74 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +78 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +39 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +93 -0
- package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +101 -0
- package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +146 -0
- package/node_modules/yaml/browser/dist/stringify/stringify.js +129 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +153 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +85 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +25 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +150 -0
- package/node_modules/yaml/browser/dist/stringify/stringifyString.js +336 -0
- package/node_modules/yaml/browser/dist/util.js +11 -0
- package/node_modules/yaml/browser/dist/visit.js +233 -0
- package/node_modules/yaml/browser/index.js +5 -0
- package/node_modules/yaml/browser/package.json +3 -0
- package/node_modules/yaml/dist/cli.d.ts +8 -0
- package/node_modules/yaml/dist/cli.mjs +201 -0
- package/node_modules/yaml/dist/compose/compose-collection.d.ts +11 -0
- package/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/node_modules/yaml/dist/compose/compose-doc.d.ts +7 -0
- package/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/node_modules/yaml/dist/compose/compose-node.d.ts +29 -0
- package/node_modules/yaml/dist/compose/compose-node.js +112 -0
- package/node_modules/yaml/dist/compose/compose-scalar.d.ts +5 -0
- package/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/node_modules/yaml/dist/compose/composer.d.ts +63 -0
- package/node_modules/yaml/dist/compose/composer.js +224 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +11 -0
- package/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/node_modules/yaml/dist/compose/resolve-end.d.ts +6 -0
- package/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +7 -0
- package/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +10 -0
- package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +227 -0
- package/node_modules/yaml/dist/compose/resolve-props.d.ts +23 -0
- package/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +2 -0
- package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +3 -0
- package/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/node_modules/yaml/dist/compose/util-map-includes.d.ts +4 -0
- package/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/node_modules/yaml/dist/doc/Document.d.ts +141 -0
- package/node_modules/yaml/dist/doc/Document.js +337 -0
- package/node_modules/yaml/dist/doc/anchors.d.ts +24 -0
- package/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/node_modules/yaml/dist/doc/applyReviver.d.ts +9 -0
- package/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/node_modules/yaml/dist/doc/createNode.d.ts +17 -0
- package/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/node_modules/yaml/dist/doc/directives.d.ts +49 -0
- package/node_modules/yaml/dist/doc/directives.js +178 -0
- package/node_modules/yaml/dist/errors.d.ts +21 -0
- package/node_modules/yaml/dist/errors.js +62 -0
- package/node_modules/yaml/dist/index.d.ts +25 -0
- package/node_modules/yaml/dist/index.js +50 -0
- package/node_modules/yaml/dist/log.d.ts +3 -0
- package/node_modules/yaml/dist/log.js +19 -0
- package/node_modules/yaml/dist/nodes/Alias.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/Alias.js +118 -0
- package/node_modules/yaml/dist/nodes/Collection.d.ts +73 -0
- package/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/node_modules/yaml/dist/nodes/Node.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/node_modules/yaml/dist/nodes/Pair.d.ts +22 -0
- package/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/node_modules/yaml/dist/nodes/Scalar.d.ts +47 -0
- package/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +53 -0
- package/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +60 -0
- package/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +4 -0
- package/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/node_modules/yaml/dist/nodes/identity.d.ts +23 -0
- package/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/node_modules/yaml/dist/nodes/toJS.d.ts +29 -0
- package/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/node_modules/yaml/dist/options.d.ts +350 -0
- package/node_modules/yaml/dist/parse/cst-scalar.d.ts +64 -0
- package/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/node_modules/yaml/dist/parse/cst-stringify.d.ts +8 -0
- package/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/node_modules/yaml/dist/parse/cst-visit.d.ts +39 -0
- package/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/node_modules/yaml/dist/parse/cst.d.ts +109 -0
- package/node_modules/yaml/dist/parse/cst.js +112 -0
- package/node_modules/yaml/dist/parse/lexer.d.ts +87 -0
- package/node_modules/yaml/dist/parse/lexer.js +723 -0
- package/node_modules/yaml/dist/parse/line-counter.d.ts +22 -0
- package/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/node_modules/yaml/dist/parse/parser.d.ts +84 -0
- package/node_modules/yaml/dist/parse/parser.js +980 -0
- package/node_modules/yaml/dist/public-api.d.ts +44 -0
- package/node_modules/yaml/dist/public-api.js +107 -0
- package/node_modules/yaml/dist/schema/Schema.d.ts +17 -0
- package/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/node_modules/yaml/dist/schema/common/map.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/node_modules/yaml/dist/schema/common/null.d.ts +4 -0
- package/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/node_modules/yaml/dist/schema/common/seq.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/node_modules/yaml/dist/schema/common/string.d.ts +2 -0
- package/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/node_modules/yaml/dist/schema/core/bool.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/node_modules/yaml/dist/schema/core/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/node_modules/yaml/dist/schema/core/int.d.ts +4 -0
- package/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/node_modules/yaml/dist/schema/core/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/node_modules/yaml/dist/schema/json/schema.d.ts +2 -0
- package/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/node_modules/yaml/dist/schema/json-schema.d.ts +69 -0
- package/node_modules/yaml/dist/schema/tags.d.ts +48 -0
- package/node_modules/yaml/dist/schema/tags.js +99 -0
- package/node_modules/yaml/dist/schema/types.d.ts +92 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +2 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +7 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +4 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +5 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +9 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +71 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +22 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +10 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +1 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +28 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +6 -0
- package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +34 -0
- package/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/node_modules/yaml/dist/stringify/stringify.d.ts +21 -0
- package/node_modules/yaml/dist/stringify/stringify.js +132 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +17 -0
- package/node_modules/yaml/dist/stringify/stringifyCollection.js +155 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +10 -0
- package/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +4 -0
- package/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +2 -0
- package/node_modules/yaml/dist/stringify/stringifyNumber.js +27 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +3 -0
- package/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/node_modules/yaml/dist/stringify/stringifyString.d.ts +9 -0
- package/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/node_modules/yaml/dist/test-events.d.ts +4 -0
- package/node_modules/yaml/dist/test-events.js +134 -0
- package/node_modules/yaml/dist/util.d.ts +16 -0
- package/node_modules/yaml/dist/util.js +28 -0
- package/node_modules/yaml/dist/visit.d.ts +102 -0
- package/node_modules/yaml/dist/visit.js +236 -0
- package/node_modules/yaml/package.json +97 -0
- package/node_modules/yaml/util.js +2 -0
- package/npm-shrinkwrap.json +109 -0
- package/package.json +11 -8
|
@@ -0,0 +1,1229 @@
|
|
|
1
|
+
import { promises as fsp } from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { parse as parseYaml } from 'yaml';
|
|
4
|
+
import { randomUUID } from 'node:crypto';
|
|
5
|
+
import { isDeepStrictEqual } from 'node:util';
|
|
6
|
+
import { PassThrough } from 'node:stream';
|
|
7
|
+
import { parsePipeline } from '../parser.js';
|
|
8
|
+
import { runPipeline } from '../runtime.js';
|
|
9
|
+
import { encodeToken } from '../token.js';
|
|
10
|
+
import { createApprovalIndex, deleteStateJson, readStateJson, writeStateJson } from '../state/store.js';
|
|
11
|
+
import { readLineFromStream } from '../read_line.js';
|
|
12
|
+
import { resolveInlineShellCommand } from '../shell.js';
|
|
13
|
+
import { sharedAjv } from '../validation.js';
|
|
14
|
+
export class WorkflowResumeArgumentError extends Error {
|
|
15
|
+
constructor(message) {
|
|
16
|
+
super(message);
|
|
17
|
+
this.name = 'WorkflowResumeArgumentError';
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export async function loadWorkflowFile(filePath) {
|
|
21
|
+
const text = await fsp.readFile(filePath, 'utf8');
|
|
22
|
+
const ext = path.extname(filePath).toLowerCase();
|
|
23
|
+
const parsed = ext === '.json' ? JSON.parse(text) : parseYaml(text);
|
|
24
|
+
if (!parsed || typeof parsed !== 'object') {
|
|
25
|
+
throw new Error('Workflow file must be a JSON/YAML object');
|
|
26
|
+
}
|
|
27
|
+
const steps = parsed.steps;
|
|
28
|
+
if (!Array.isArray(steps) || steps.length === 0) {
|
|
29
|
+
throw new Error('Workflow file requires a non-empty steps array');
|
|
30
|
+
}
|
|
31
|
+
const seen = new Set();
|
|
32
|
+
for (const step of steps) {
|
|
33
|
+
if (!step || typeof step !== 'object') {
|
|
34
|
+
throw new Error('Workflow step must be an object');
|
|
35
|
+
}
|
|
36
|
+
if (!step.id || typeof step.id !== 'string') {
|
|
37
|
+
throw new Error('Workflow step requires an id');
|
|
38
|
+
}
|
|
39
|
+
const shellCommand = typeof step.run === 'string' ? step.run : step.command;
|
|
40
|
+
const pipeline = typeof step.pipeline === 'string' ? step.pipeline : undefined;
|
|
41
|
+
const executionCount = Number(Boolean(shellCommand)) + Number(Boolean(pipeline));
|
|
42
|
+
if (executionCount === 0 && !isApprovalStep(step.approval) && !isInputStep(step.input)) {
|
|
43
|
+
throw new Error(`Workflow step ${step.id} requires run, command, pipeline, approval, or input`);
|
|
44
|
+
}
|
|
45
|
+
if (executionCount > 1) {
|
|
46
|
+
throw new Error(`Workflow step ${step.id} can only define one of run, command, or pipeline`);
|
|
47
|
+
}
|
|
48
|
+
if (executionCount > 0 && isInputStep(step.input)) {
|
|
49
|
+
throw new Error(`Workflow step ${step.id} input steps cannot define run, command, or pipeline`);
|
|
50
|
+
}
|
|
51
|
+
if (isApprovalStep(step.approval) && isInputStep(step.input)) {
|
|
52
|
+
throw new Error(`Workflow step ${step.id} cannot define both approval and input`);
|
|
53
|
+
}
|
|
54
|
+
if (step.run !== undefined && typeof step.run !== 'string') {
|
|
55
|
+
throw new Error(`Workflow step ${step.id} run must be a string`);
|
|
56
|
+
}
|
|
57
|
+
if (step.command !== undefined && typeof step.command !== 'string') {
|
|
58
|
+
throw new Error(`Workflow step ${step.id} command must be a string`);
|
|
59
|
+
}
|
|
60
|
+
if (step.pipeline !== undefined && typeof step.pipeline !== 'string') {
|
|
61
|
+
throw new Error(`Workflow step ${step.id} pipeline must be a string`);
|
|
62
|
+
}
|
|
63
|
+
if (step.input !== undefined && !isInputStep(step.input)) {
|
|
64
|
+
throw new Error(`Workflow step ${step.id} input must be an object`);
|
|
65
|
+
}
|
|
66
|
+
if (step.input && typeof step.input.prompt !== 'string') {
|
|
67
|
+
throw new Error(`Workflow step ${step.id} input.prompt must be a string`);
|
|
68
|
+
}
|
|
69
|
+
if (step.input && (step.input.responseSchema === undefined || typeof step.input.responseSchema !== 'object')) {
|
|
70
|
+
throw new Error(`Workflow step ${step.id} input.responseSchema must be an object`);
|
|
71
|
+
}
|
|
72
|
+
if (step.input) {
|
|
73
|
+
try {
|
|
74
|
+
sharedAjv.compile(step.input.responseSchema);
|
|
75
|
+
}
|
|
76
|
+
catch (err) {
|
|
77
|
+
throw new Error(`Workflow step ${step.id} input.responseSchema is invalid: ${err?.message ?? String(err)}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
if (seen.has(step.id)) {
|
|
81
|
+
throw new Error(`Duplicate workflow step id: ${step.id}`);
|
|
82
|
+
}
|
|
83
|
+
seen.add(step.id);
|
|
84
|
+
}
|
|
85
|
+
return parsed;
|
|
86
|
+
}
|
|
87
|
+
export function resolveWorkflowArgs(argDefs, provided) {
|
|
88
|
+
const resolved = {};
|
|
89
|
+
if (argDefs) {
|
|
90
|
+
for (const [key, def] of Object.entries(argDefs)) {
|
|
91
|
+
if (def && typeof def === 'object' && 'default' in def) {
|
|
92
|
+
resolved[key] = def.default;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (provided) {
|
|
97
|
+
for (const [key, value] of Object.entries(provided)) {
|
|
98
|
+
resolved[key] = value;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return resolved;
|
|
102
|
+
}
|
|
103
|
+
export async function runWorkflowFile({ filePath, args, ctx, resume, approved, response, cancel, }) {
|
|
104
|
+
const consumedResumeStateKey = resume?.stateKey && typeof resume.stateKey === 'string'
|
|
105
|
+
? resume.stateKey
|
|
106
|
+
: null;
|
|
107
|
+
const resumeState = resume?.stateKey
|
|
108
|
+
? await loadWorkflowResumeState(ctx.env, resume.stateKey)
|
|
109
|
+
: resume ?? null;
|
|
110
|
+
if (resumeState?.approvalStepId && resumeState?.inputStepId) {
|
|
111
|
+
throw new Error('Invalid workflow resume state');
|
|
112
|
+
}
|
|
113
|
+
if (resumeState?.approvalStepId) {
|
|
114
|
+
if (response !== undefined) {
|
|
115
|
+
throw new WorkflowResumeArgumentError('Workflow resume requires --approve yes|no for approval requests');
|
|
116
|
+
}
|
|
117
|
+
if (cancel !== true && typeof approved !== 'boolean') {
|
|
118
|
+
throw new WorkflowResumeArgumentError('Workflow resume requires --approve yes|no for approval requests');
|
|
119
|
+
}
|
|
120
|
+
if (cancel === true || approved === false) {
|
|
121
|
+
if (consumedResumeStateKey) {
|
|
122
|
+
await deleteStateJson({ env: ctx.env, key: consumedResumeStateKey });
|
|
123
|
+
}
|
|
124
|
+
return { status: 'cancelled', output: [] };
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
if (resumeState?.inputStepId && cancel === true) {
|
|
128
|
+
if (consumedResumeStateKey) {
|
|
129
|
+
await deleteStateJson({ env: ctx.env, key: consumedResumeStateKey });
|
|
130
|
+
}
|
|
131
|
+
return { status: 'cancelled', output: [] };
|
|
132
|
+
}
|
|
133
|
+
const resolvedFilePath = filePath ?? resumeState?.filePath;
|
|
134
|
+
if (!resolvedFilePath) {
|
|
135
|
+
throw new Error('Workflow file path required');
|
|
136
|
+
}
|
|
137
|
+
const workflow = await loadWorkflowFile(resolvedFilePath);
|
|
138
|
+
const resolvedArgs = resolveWorkflowArgs(workflow.args, args ?? resumeState?.args);
|
|
139
|
+
const steps = workflow.steps;
|
|
140
|
+
const stepIndexById = new Map(steps.map((step, idx) => [step.id, idx]));
|
|
141
|
+
const results = resumeState?.steps
|
|
142
|
+
? cloneResults(resumeState.steps)
|
|
143
|
+
: {};
|
|
144
|
+
const startIndex = resumeState?.resumeAtIndex ?? 0;
|
|
145
|
+
if (resumeState?.approvalStepId && typeof approved === 'boolean') {
|
|
146
|
+
const previous = results[resumeState.approvalStepId] ?? { id: resumeState.approvalStepId };
|
|
147
|
+
previous.approved = approved;
|
|
148
|
+
results[resumeState.approvalStepId] = previous;
|
|
149
|
+
}
|
|
150
|
+
if (resumeState?.inputStepId) {
|
|
151
|
+
if (approved !== undefined) {
|
|
152
|
+
throw new WorkflowResumeArgumentError('Workflow resume requires --response-json for input requests');
|
|
153
|
+
}
|
|
154
|
+
if (response === undefined) {
|
|
155
|
+
throw new WorkflowResumeArgumentError('Workflow resume requires --response-json for input requests');
|
|
156
|
+
}
|
|
157
|
+
const inputStep = steps[stepIndexById.get(resumeState.inputStepId) ?? -1];
|
|
158
|
+
if (!inputStep || !isInputStep(inputStep.input)) {
|
|
159
|
+
throw new Error(`Invalid input step in resume state: ${resumeState.inputStepId}`);
|
|
160
|
+
}
|
|
161
|
+
try {
|
|
162
|
+
validateInputResponse({
|
|
163
|
+
schema: resumeState.inputSchema ?? inputStep.input.responseSchema,
|
|
164
|
+
response,
|
|
165
|
+
stepId: inputStep.id,
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
catch (err) {
|
|
169
|
+
throw new WorkflowResumeArgumentError(err?.message ?? String(err));
|
|
170
|
+
}
|
|
171
|
+
const previous = results[resumeState.inputStepId] ?? { id: resumeState.inputStepId };
|
|
172
|
+
previous.subject = resumeState.inputSubject ?? null;
|
|
173
|
+
previous.response = response;
|
|
174
|
+
delete previous.skipped;
|
|
175
|
+
results[resumeState.inputStepId] = previous;
|
|
176
|
+
}
|
|
177
|
+
if (ctx.dryRun) {
|
|
178
|
+
return dryRunWorkflow({ steps, resolvedArgs, results, startIndex, ctx });
|
|
179
|
+
}
|
|
180
|
+
let lastStepId = resumeState?.inputStepId ?? findLastCompletedStepId(steps, results);
|
|
181
|
+
for (let idx = startIndex; idx < steps.length; idx++) {
|
|
182
|
+
const step = steps[idx];
|
|
183
|
+
if (!evaluateCondition(step.when ?? step.condition, results)) {
|
|
184
|
+
results[step.id] = { id: step.id, skipped: true };
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
187
|
+
if (isInputStep(step.input)) {
|
|
188
|
+
const subject = resolveInputSubject({
|
|
189
|
+
step,
|
|
190
|
+
args: resolvedArgs,
|
|
191
|
+
results,
|
|
192
|
+
lastStepId,
|
|
193
|
+
});
|
|
194
|
+
if (ctx.mode === 'tool' || !isInteractive(ctx.stdin)) {
|
|
195
|
+
const inputRequest = buildNeedsInputRequest({
|
|
196
|
+
stepId: step.id,
|
|
197
|
+
prompt: step.input.prompt,
|
|
198
|
+
responseSchema: step.input.responseSchema,
|
|
199
|
+
defaults: step.input.defaults,
|
|
200
|
+
subject,
|
|
201
|
+
maxEnvelopeBytes: resolveToolEnvelopeMaxBytes(ctx.env),
|
|
202
|
+
});
|
|
203
|
+
const stateKey = await saveWorkflowResumeState(ctx.env, {
|
|
204
|
+
filePath: resolvedFilePath,
|
|
205
|
+
resumeAtIndex: idx + 1,
|
|
206
|
+
steps: results,
|
|
207
|
+
args: resolvedArgs,
|
|
208
|
+
inputStepId: step.id,
|
|
209
|
+
inputSchema: step.input.responseSchema,
|
|
210
|
+
// Preserve the full resolved subject for resume semantics; the tool
|
|
211
|
+
// envelope may contain a truncated preview to stay within size limits.
|
|
212
|
+
inputSubject: subject,
|
|
213
|
+
createdAt: new Date().toISOString(),
|
|
214
|
+
});
|
|
215
|
+
if (consumedResumeStateKey && consumedResumeStateKey !== stateKey) {
|
|
216
|
+
await deleteStateJson({ env: ctx.env, key: consumedResumeStateKey });
|
|
217
|
+
}
|
|
218
|
+
const resumeToken = encodeToken({
|
|
219
|
+
protocolVersion: 1,
|
|
220
|
+
v: 1,
|
|
221
|
+
kind: 'workflow-file',
|
|
222
|
+
stateKey,
|
|
223
|
+
});
|
|
224
|
+
return {
|
|
225
|
+
status: 'needs_input',
|
|
226
|
+
output: [],
|
|
227
|
+
requiresInput: {
|
|
228
|
+
...inputRequest,
|
|
229
|
+
resumeToken,
|
|
230
|
+
},
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
ctx.stdout.write(`${step.input.prompt}\n`);
|
|
234
|
+
ctx.stdout.write('Enter JSON response: ');
|
|
235
|
+
const raw = await readLineFromStream(ctx.stdin, {
|
|
236
|
+
timeoutMs: parseApprovalTimeoutMs(ctx.env),
|
|
237
|
+
});
|
|
238
|
+
const parsed = parseResponseJson(String(raw ?? '').trim());
|
|
239
|
+
validateInputResponse({
|
|
240
|
+
schema: step.input.responseSchema,
|
|
241
|
+
response: parsed,
|
|
242
|
+
stepId: step.id,
|
|
243
|
+
});
|
|
244
|
+
results[step.id] = {
|
|
245
|
+
id: step.id,
|
|
246
|
+
subject,
|
|
247
|
+
response: parsed,
|
|
248
|
+
};
|
|
249
|
+
lastStepId = step.id;
|
|
250
|
+
continue;
|
|
251
|
+
}
|
|
252
|
+
const env = mergeEnv(ctx.env, workflow.env, step.env, resolvedArgs, results);
|
|
253
|
+
const cwd = resolveCwd(step.cwd ?? workflow.cwd, resolvedArgs) ?? ctx.cwd;
|
|
254
|
+
const execution = getStepExecution(step);
|
|
255
|
+
let result;
|
|
256
|
+
if (execution.kind === 'shell') {
|
|
257
|
+
const command = resolveTemplate(execution.value, resolvedArgs, results);
|
|
258
|
+
const stdinValue = resolveShellStdin(step.stdin, resolvedArgs, results);
|
|
259
|
+
const { stdout } = await runShellCommand({ command, stdin: stdinValue, env, cwd, signal: ctx.signal });
|
|
260
|
+
result = { id: step.id, stdout, json: parseJson(stdout) };
|
|
261
|
+
}
|
|
262
|
+
else if (execution.kind === 'pipeline') {
|
|
263
|
+
if (!ctx.registry) {
|
|
264
|
+
throw new Error(`Workflow step ${step.id} requires a command registry for pipeline execution`);
|
|
265
|
+
}
|
|
266
|
+
const pipelineText = resolveTemplate(execution.value, resolvedArgs, results);
|
|
267
|
+
const inputValue = resolveInputValue(step.stdin, resolvedArgs, results);
|
|
268
|
+
result = await runPipelineStep({
|
|
269
|
+
stepId: step.id,
|
|
270
|
+
pipelineText,
|
|
271
|
+
inputValue,
|
|
272
|
+
ctx,
|
|
273
|
+
env,
|
|
274
|
+
cwd,
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
const inputValue = resolveInputValue(step.stdin, resolvedArgs, results);
|
|
279
|
+
result = createSyntheticStepResult(step.id, inputValue);
|
|
280
|
+
}
|
|
281
|
+
results[step.id] = result;
|
|
282
|
+
lastStepId = step.id;
|
|
283
|
+
if (isApprovalStep(step.approval)) {
|
|
284
|
+
const approval = extractApprovalRequest(step, results[step.id]);
|
|
285
|
+
if (ctx.mode === 'tool' || !isInteractive(ctx.stdin)) {
|
|
286
|
+
const stateKey = await saveWorkflowResumeState(ctx.env, {
|
|
287
|
+
filePath: resolvedFilePath,
|
|
288
|
+
resumeAtIndex: idx + 1,
|
|
289
|
+
steps: results,
|
|
290
|
+
args: resolvedArgs,
|
|
291
|
+
approvalStepId: step.id,
|
|
292
|
+
createdAt: new Date().toISOString(),
|
|
293
|
+
});
|
|
294
|
+
let approvalId;
|
|
295
|
+
try {
|
|
296
|
+
approvalId = await createApprovalIndex({ env: ctx.env, stateKey });
|
|
297
|
+
}
|
|
298
|
+
catch (err) {
|
|
299
|
+
await deleteStateJson({ env: ctx.env, key: stateKey }).catch(() => { });
|
|
300
|
+
throw err;
|
|
301
|
+
}
|
|
302
|
+
if (consumedResumeStateKey && consumedResumeStateKey !== stateKey) {
|
|
303
|
+
await deleteStateJson({ env: ctx.env, key: consumedResumeStateKey });
|
|
304
|
+
}
|
|
305
|
+
const resumeToken = encodeToken({
|
|
306
|
+
protocolVersion: 1,
|
|
307
|
+
v: 1,
|
|
308
|
+
kind: 'workflow-file',
|
|
309
|
+
stateKey,
|
|
310
|
+
});
|
|
311
|
+
return {
|
|
312
|
+
status: 'needs_approval',
|
|
313
|
+
output: [],
|
|
314
|
+
requiresApproval: {
|
|
315
|
+
...approval,
|
|
316
|
+
resumeToken,
|
|
317
|
+
approvalId,
|
|
318
|
+
},
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
ctx.stdout.write(`${approval.prompt} [y/N] `);
|
|
322
|
+
const answer = await readLineFromStream(ctx.stdin, {
|
|
323
|
+
timeoutMs: parseApprovalTimeoutMs(ctx.env),
|
|
324
|
+
});
|
|
325
|
+
if (!/^y(es)?$/i.test(String(answer).trim())) {
|
|
326
|
+
throw new Error('Not approved');
|
|
327
|
+
}
|
|
328
|
+
results[step.id].approved = true;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
const output = lastStepId ? toOutputItems(results[lastStepId]) : [];
|
|
332
|
+
if (consumedResumeStateKey) {
|
|
333
|
+
await deleteStateJson({ env: ctx.env, key: consumedResumeStateKey });
|
|
334
|
+
}
|
|
335
|
+
return { status: 'ok', output };
|
|
336
|
+
}
|
|
337
|
+
// Returns a human-readable note if a step.stdin value references a prior step's
|
|
338
|
+
// output. Because dry-run placeholders have no actual stdout/json, we surface
|
|
339
|
+
// this so users know the value is unknown at plan time rather than silently
|
|
340
|
+
// resolving to an empty string.
|
|
341
|
+
function dryRunStdinNote(stdin) {
|
|
342
|
+
if (stdin === null || stdin === undefined)
|
|
343
|
+
return null;
|
|
344
|
+
if (typeof stdin !== 'string')
|
|
345
|
+
return null;
|
|
346
|
+
const trimmed = stdin.trim();
|
|
347
|
+
// Strict step ref: '$step-id.stdout' or '$step-id.json'
|
|
348
|
+
if (/^\$[A-Za-z0-9_-]+\.(stdout|json)$/.test(trimmed)) {
|
|
349
|
+
return `${trimmed} [output unknown at plan time]`;
|
|
350
|
+
}
|
|
351
|
+
// Inline template ref: contains '$stepid.stdout' or '$stepid.json'
|
|
352
|
+
if (/\$[A-Za-z0-9_-]+\.(stdout|json)/.test(trimmed)) {
|
|
353
|
+
return `${trimmed} [contains step output refs — unknown at plan time]`;
|
|
354
|
+
}
|
|
355
|
+
return null;
|
|
356
|
+
}
|
|
357
|
+
function dryRunTemplateNote(input) {
|
|
358
|
+
if (/\$[A-Za-z0-9_-]+\.(stdout|json)/.test(input)) {
|
|
359
|
+
return '[contains step output refs — unknown at plan time]';
|
|
360
|
+
}
|
|
361
|
+
return null;
|
|
362
|
+
}
|
|
363
|
+
function hasDeferredDryRunStageName(input) {
|
|
364
|
+
return /\$[A-Za-z0-9_-]+\.(stdout|json)/.test(input);
|
|
365
|
+
}
|
|
366
|
+
function resolveDryRunTemplate(input, args, results) {
|
|
367
|
+
const withArgs = resolveArgsTemplate(input, args);
|
|
368
|
+
return withArgs.replace(/\$([A-Za-z0-9_-]+)\.(stdout|json|approved)/g, (match, id, field) => {
|
|
369
|
+
if (field === 'approved') {
|
|
370
|
+
const step = results[id];
|
|
371
|
+
if (!step)
|
|
372
|
+
return match;
|
|
373
|
+
return step.approved === true ? 'true' : 'false';
|
|
374
|
+
}
|
|
375
|
+
return match;
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
function dryRunWorkflow({ steps, resolvedArgs, results, startIndex, ctx, }) {
|
|
379
|
+
const lines = [];
|
|
380
|
+
const totalSteps = steps.length - startIndex;
|
|
381
|
+
lines.push(`[DRY RUN] Would execute ${totalSteps} step${totalSteps !== 1 ? 's' : ''}:\n`);
|
|
382
|
+
for (let idx = startIndex; idx < steps.length; idx++) {
|
|
383
|
+
const step = steps[idx];
|
|
384
|
+
const num = idx - startIndex + 1;
|
|
385
|
+
if (!evaluateCondition(step.when ?? step.condition, results)) {
|
|
386
|
+
results[step.id] = { id: step.id, skipped: true };
|
|
387
|
+
lines.push(` ${num}. ${step.id} [skipped — condition: false]`);
|
|
388
|
+
continue;
|
|
389
|
+
}
|
|
390
|
+
if (isInputStep(step.input)) {
|
|
391
|
+
lines.push(` ${num}. ${step.id} [input]`);
|
|
392
|
+
lines.push(` prompt: ${step.input.prompt}`);
|
|
393
|
+
lines.push(` [input required]`);
|
|
394
|
+
results[step.id] = { id: step.id, response: { pending: true } };
|
|
395
|
+
continue;
|
|
396
|
+
}
|
|
397
|
+
// Validate stdin refs early — throws if a strict ref like '$missing.stdout'
|
|
398
|
+
// points to a step that doesn't exist at all (real execution would also fail).
|
|
399
|
+
// We call resolveInputValue with the current results so refs to steps we've
|
|
400
|
+
// already visited (placeholders) are accepted without throwing.
|
|
401
|
+
if (step.stdin !== undefined && step.stdin !== null) {
|
|
402
|
+
try {
|
|
403
|
+
resolveInputValue(step.stdin, resolvedArgs, results);
|
|
404
|
+
}
|
|
405
|
+
catch (err) {
|
|
406
|
+
throw new Error(`Workflow step ${step.id} stdin: ${err?.message ?? String(err)}`);
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
const execution = getStepExecution(step);
|
|
410
|
+
// Annotate when the resolved command/pipeline references a prior step's output.
|
|
411
|
+
// Since dry-run placeholders have no actual stdout/json, note it explicitly
|
|
412
|
+
// rather than silently collapsing the reference to an empty string.
|
|
413
|
+
const stdinNote = dryRunStdinNote(step.stdin);
|
|
414
|
+
if (execution.kind === 'shell') {
|
|
415
|
+
const command = resolveDryRunTemplate(execution.value, resolvedArgs, results);
|
|
416
|
+
const commandNote = dryRunTemplateNote(command);
|
|
417
|
+
lines.push(` ${num}. ${step.id} [shell]`);
|
|
418
|
+
lines.push(` run: ${command}${commandNote ? ` ${commandNote}` : ''}`);
|
|
419
|
+
}
|
|
420
|
+
else if (execution.kind === 'pipeline') {
|
|
421
|
+
const pipelineText = resolveDryRunTemplate(execution.value, resolvedArgs, results);
|
|
422
|
+
const pipelineNote = dryRunTemplateNote(pipelineText);
|
|
423
|
+
// Validate pipeline syntax and registry even in dry-run so errors surface early.
|
|
424
|
+
if (!ctx.registry) {
|
|
425
|
+
throw new Error(`Workflow step ${step.id} requires a command registry for pipeline execution`);
|
|
426
|
+
}
|
|
427
|
+
// Validate that every stage name is a known command.
|
|
428
|
+
const stages = parsePipeline(pipelineText);
|
|
429
|
+
for (const stage of stages) {
|
|
430
|
+
if (hasDeferredDryRunStageName(stage.name)) {
|
|
431
|
+
continue;
|
|
432
|
+
}
|
|
433
|
+
if (!ctx.registry.get(stage.name)) {
|
|
434
|
+
throw new Error(`Workflow step ${step.id} pipeline references unknown command: ${stage.name}`);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
lines.push(` ${num}. ${step.id} [pipeline]`);
|
|
438
|
+
lines.push(` pipeline: ${pipelineText}${pipelineNote ? ` ${pipelineNote}` : ''}`);
|
|
439
|
+
if (stages.some((stage) => hasDeferredDryRunStageName(stage.name))) {
|
|
440
|
+
lines.push(' [command validation deferred — stage name depends on step output]');
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
else {
|
|
444
|
+
lines.push(` ${num}. ${step.id} [no-op]`);
|
|
445
|
+
}
|
|
446
|
+
if (stdinNote)
|
|
447
|
+
lines.push(` stdin: ${stdinNote}`);
|
|
448
|
+
if (isApprovalStep(step.approval)) {
|
|
449
|
+
lines.push(` [approval required]`);
|
|
450
|
+
}
|
|
451
|
+
// Record a placeholder result so later steps can reference this step in conditions.
|
|
452
|
+
// For approval steps, model approval as granted so downstream conditions like
|
|
453
|
+
// $step.approved evaluate correctly in the plan (rather than always being false).
|
|
454
|
+
// We intentionally omit stdout/json — dryRunStdinNote() surfaces that gap.
|
|
455
|
+
results[step.id] = isApprovalStep(step.approval)
|
|
456
|
+
? { id: step.id, approved: true }
|
|
457
|
+
: { id: step.id };
|
|
458
|
+
}
|
|
459
|
+
lines.push('');
|
|
460
|
+
ctx.stderr.write(lines.join('\n'));
|
|
461
|
+
return { status: 'ok', output: [] };
|
|
462
|
+
}
|
|
463
|
+
export function decodeWorkflowResumePayload(payload) {
|
|
464
|
+
if (!payload || typeof payload !== 'object')
|
|
465
|
+
return null;
|
|
466
|
+
const data = payload;
|
|
467
|
+
if (data.kind !== 'workflow-file')
|
|
468
|
+
return null;
|
|
469
|
+
if (data.protocolVersion !== 1 || data.v !== 1)
|
|
470
|
+
throw new Error('Unsupported token version');
|
|
471
|
+
if (data.stateKey && typeof data.stateKey === 'string') {
|
|
472
|
+
return data;
|
|
473
|
+
}
|
|
474
|
+
if (!data.filePath || typeof data.filePath !== 'string')
|
|
475
|
+
throw new Error('Invalid workflow token');
|
|
476
|
+
if (typeof data.resumeAtIndex !== 'number')
|
|
477
|
+
throw new Error('Invalid workflow token');
|
|
478
|
+
if (!data.steps || typeof data.steps !== 'object')
|
|
479
|
+
throw new Error('Invalid workflow token');
|
|
480
|
+
if (!data.args || typeof data.args !== 'object')
|
|
481
|
+
throw new Error('Invalid workflow token');
|
|
482
|
+
return data;
|
|
483
|
+
}
|
|
484
|
+
async function saveWorkflowResumeState(env, state) {
|
|
485
|
+
const stateKey = `workflow_resume_${randomUUID()}`;
|
|
486
|
+
await writeStateJson({ env, key: stateKey, value: state });
|
|
487
|
+
return stateKey;
|
|
488
|
+
}
|
|
489
|
+
async function loadWorkflowResumeState(env, stateKey) {
|
|
490
|
+
const stored = await readStateJson({ env, key: stateKey });
|
|
491
|
+
if (!stored || typeof stored !== 'object') {
|
|
492
|
+
throw new Error('Workflow resume state not found');
|
|
493
|
+
}
|
|
494
|
+
const data = stored;
|
|
495
|
+
if (!data.filePath || typeof data.filePath !== 'string')
|
|
496
|
+
throw new Error('Invalid workflow resume state');
|
|
497
|
+
if (typeof data.resumeAtIndex !== 'number')
|
|
498
|
+
throw new Error('Invalid workflow resume state');
|
|
499
|
+
if (!data.steps || typeof data.steps !== 'object')
|
|
500
|
+
throw new Error('Invalid workflow resume state');
|
|
501
|
+
if (!data.args || typeof data.args !== 'object')
|
|
502
|
+
throw new Error('Invalid workflow resume state');
|
|
503
|
+
return data;
|
|
504
|
+
}
|
|
505
|
+
function mergeEnv(base, workflowEnv, stepEnv, args, results) {
|
|
506
|
+
const env = { ...base };
|
|
507
|
+
// Expose resolved args as env vars so shell commands can safely reference them
|
|
508
|
+
// without embedding raw values into the command string.
|
|
509
|
+
// Example: $LOBSTER_ARG_TEXT
|
|
510
|
+
env.LOBSTER_ARGS_JSON = JSON.stringify(args ?? {});
|
|
511
|
+
for (const [key, value] of Object.entries(args ?? {})) {
|
|
512
|
+
const normalized = normalizeArgEnvKey(key);
|
|
513
|
+
if (!normalized)
|
|
514
|
+
continue;
|
|
515
|
+
env[`LOBSTER_ARG_${normalized}`] = String(value);
|
|
516
|
+
}
|
|
517
|
+
const apply = (source) => {
|
|
518
|
+
if (!source)
|
|
519
|
+
return;
|
|
520
|
+
for (const [key, value] of Object.entries(source)) {
|
|
521
|
+
if (typeof value === 'string') {
|
|
522
|
+
env[key] = resolveTemplate(value, args, results);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
// Allow explicit env blocks to override injected defaults.
|
|
527
|
+
apply(workflowEnv);
|
|
528
|
+
apply(stepEnv);
|
|
529
|
+
return env;
|
|
530
|
+
}
|
|
531
|
+
function normalizeArgEnvKey(key) {
|
|
532
|
+
const trimmed = String(key ?? '').trim();
|
|
533
|
+
if (!trimmed)
|
|
534
|
+
return null;
|
|
535
|
+
// Keep it predictable for shells: uppercase and [A-Z0-9_]
|
|
536
|
+
const up = trimmed.toUpperCase();
|
|
537
|
+
const normalized = up.replace(/[^A-Z0-9]+/g, '_').replace(/^_+|_+$/g, '');
|
|
538
|
+
return normalized || null;
|
|
539
|
+
}
|
|
540
|
+
function resolveCwd(cwd, args) {
|
|
541
|
+
if (!cwd)
|
|
542
|
+
return undefined;
|
|
543
|
+
return resolveArgsTemplate(cwd, args);
|
|
544
|
+
}
|
|
545
|
+
function resolveInputValue(stdin, args, results) {
|
|
546
|
+
if (stdin === null || stdin === undefined)
|
|
547
|
+
return null;
|
|
548
|
+
if (typeof stdin === 'string') {
|
|
549
|
+
const ref = parseStepRef(stdin.trim());
|
|
550
|
+
if (ref)
|
|
551
|
+
return getStepRefValue(ref, results, true);
|
|
552
|
+
return resolveTemplate(stdin, args, results);
|
|
553
|
+
}
|
|
554
|
+
return stdin;
|
|
555
|
+
}
|
|
556
|
+
function resolveShellStdin(stdin, args, results) {
|
|
557
|
+
const value = resolveInputValue(stdin, args, results);
|
|
558
|
+
return encodeShellInput(value);
|
|
559
|
+
}
|
|
560
|
+
function resolveTemplate(input, args, results) {
|
|
561
|
+
const withArgs = resolveArgsTemplate(input, args);
|
|
562
|
+
return resolveStepRefs(withArgs, results);
|
|
563
|
+
}
|
|
564
|
+
function resolveArgsTemplate(input, args) {
|
|
565
|
+
return input.replace(/\$\{([A-Za-z0-9_-]+)\}/g, (match, key) => {
|
|
566
|
+
if (key in args)
|
|
567
|
+
return String(args[key]);
|
|
568
|
+
return match;
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
function resolveStepRefs(input, results) {
|
|
572
|
+
return input.replace(/\$([A-Za-z0-9_-]+)\.([A-Za-z0-9_]+(?:\.[A-Za-z0-9_]+)*)/g, (match, id, pathValue) => {
|
|
573
|
+
if (!(id in results)) {
|
|
574
|
+
return match;
|
|
575
|
+
}
|
|
576
|
+
const refValue = getStepRefValue({ id, path: pathValue }, results, false);
|
|
577
|
+
if (refValue === undefined) {
|
|
578
|
+
if (pathValue === 'approved' || pathValue === 'skipped')
|
|
579
|
+
return 'false';
|
|
580
|
+
return '';
|
|
581
|
+
}
|
|
582
|
+
return renderTemplateValue(refValue);
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
function parseStepRef(value) {
|
|
586
|
+
const match = value.match(/^\$([A-Za-z0-9_-]+)\.([A-Za-z0-9_]+(?:\.[A-Za-z0-9_]+)*)$/);
|
|
587
|
+
if (!match)
|
|
588
|
+
return null;
|
|
589
|
+
return { id: match[1], path: match[2] };
|
|
590
|
+
}
|
|
591
|
+
function getStepRefValue(ref, results, strict) {
|
|
592
|
+
const step = results[ref.id];
|
|
593
|
+
if (!step) {
|
|
594
|
+
if (strict)
|
|
595
|
+
throw new Error(`Unknown step reference: ${ref.id}.${ref.path}`);
|
|
596
|
+
return undefined;
|
|
597
|
+
}
|
|
598
|
+
return getValueByPath(step, ref.path);
|
|
599
|
+
}
|
|
600
|
+
function evaluateCondition(condition, results) {
|
|
601
|
+
if (condition === undefined || condition === null)
|
|
602
|
+
return true;
|
|
603
|
+
if (typeof condition === 'boolean')
|
|
604
|
+
return condition;
|
|
605
|
+
if (typeof condition !== 'string')
|
|
606
|
+
throw new Error('Unsupported condition type');
|
|
607
|
+
const trimmed = condition.trim();
|
|
608
|
+
if (trimmed === 'true')
|
|
609
|
+
return true;
|
|
610
|
+
if (trimmed === 'false')
|
|
611
|
+
return false;
|
|
612
|
+
return evaluateConditionExpression(trimmed, results);
|
|
613
|
+
}
|
|
614
|
+
function isApprovalStep(approval) {
|
|
615
|
+
if (approval === true)
|
|
616
|
+
return true;
|
|
617
|
+
if (typeof approval === 'string' && approval.trim().length > 0)
|
|
618
|
+
return true;
|
|
619
|
+
if (approval && typeof approval === 'object' && !Array.isArray(approval))
|
|
620
|
+
return true;
|
|
621
|
+
return false;
|
|
622
|
+
}
|
|
623
|
+
function isInputStep(input) {
|
|
624
|
+
return Boolean(input && typeof input === 'object' && !Array.isArray(input));
|
|
625
|
+
}
|
|
626
|
+
function extractApprovalRequest(step, result) {
|
|
627
|
+
const approvalConfig = normalizeApprovalConfig(step.approval);
|
|
628
|
+
const fallbackPrompt = approvalConfig.prompt ?? `Approve ${step.id}?`;
|
|
629
|
+
const json = result.json;
|
|
630
|
+
if (json && typeof json === 'object' && !Array.isArray(json)) {
|
|
631
|
+
const candidate = json;
|
|
632
|
+
if (candidate.requiresApproval?.prompt) {
|
|
633
|
+
return {
|
|
634
|
+
type: 'approval_request',
|
|
635
|
+
prompt: candidate.requiresApproval.prompt,
|
|
636
|
+
items: candidate.requiresApproval.items ?? [],
|
|
637
|
+
...(candidate.requiresApproval.preview ? { preview: candidate.requiresApproval.preview } : null),
|
|
638
|
+
};
|
|
639
|
+
}
|
|
640
|
+
if (candidate.prompt) {
|
|
641
|
+
return {
|
|
642
|
+
type: 'approval_request',
|
|
643
|
+
prompt: candidate.prompt,
|
|
644
|
+
items: candidate.items ?? [],
|
|
645
|
+
...(candidate.preview ? { preview: candidate.preview } : null),
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
const items = approvalConfig.items ?? normalizeApprovalItems(result.json);
|
|
650
|
+
const preview = approvalConfig.preview ?? buildResultPreview(result);
|
|
651
|
+
return {
|
|
652
|
+
type: 'approval_request',
|
|
653
|
+
prompt: fallbackPrompt,
|
|
654
|
+
items,
|
|
655
|
+
...(preview ? { preview } : null),
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
function parseJson(stdout) {
|
|
659
|
+
const trimmed = stdout.trim();
|
|
660
|
+
if (!trimmed)
|
|
661
|
+
return undefined;
|
|
662
|
+
try {
|
|
663
|
+
return JSON.parse(trimmed);
|
|
664
|
+
}
|
|
665
|
+
catch {
|
|
666
|
+
return undefined;
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
function toOutputItems(result) {
|
|
670
|
+
if (!result)
|
|
671
|
+
return [];
|
|
672
|
+
if (result.json !== undefined) {
|
|
673
|
+
return Array.isArray(result.json) ? result.json : [result.json];
|
|
674
|
+
}
|
|
675
|
+
if (result.response !== undefined) {
|
|
676
|
+
return Array.isArray(result.response) ? result.response : [result.response];
|
|
677
|
+
}
|
|
678
|
+
if (result.stdout !== undefined) {
|
|
679
|
+
return result.stdout === '' ? [] : [result.stdout];
|
|
680
|
+
}
|
|
681
|
+
return [];
|
|
682
|
+
}
|
|
683
|
+
function cloneResults(results) {
|
|
684
|
+
const out = {};
|
|
685
|
+
for (const [key, value] of Object.entries(results)) {
|
|
686
|
+
out[key] = { ...value };
|
|
687
|
+
}
|
|
688
|
+
return out;
|
|
689
|
+
}
|
|
690
|
+
function findLastCompletedStepId(steps, results) {
|
|
691
|
+
for (let idx = steps.length - 1; idx >= 0; idx--) {
|
|
692
|
+
if (results[steps[idx].id])
|
|
693
|
+
return steps[idx].id;
|
|
694
|
+
}
|
|
695
|
+
return null;
|
|
696
|
+
}
|
|
697
|
+
function isInteractive(stdin) {
|
|
698
|
+
return Boolean(stdin.isTTY);
|
|
699
|
+
}
|
|
700
|
+
function parseApprovalTimeoutMs(env) {
|
|
701
|
+
const raw = env?.LOBSTER_APPROVAL_INPUT_TIMEOUT_MS;
|
|
702
|
+
const value = Number(raw);
|
|
703
|
+
if (!Number.isFinite(value) || value <= 0)
|
|
704
|
+
return 0;
|
|
705
|
+
return Math.floor(value);
|
|
706
|
+
}
|
|
707
|
+
const MAX_NEEDS_INPUT_SUBJECT_BYTES = 192_000;
|
|
708
|
+
const DEFAULT_TOOL_ENVELOPE_MAX_BYTES = 512_000;
|
|
709
|
+
const RESUME_TOKEN_PLACEHOLDER = 'x'.repeat(220);
|
|
710
|
+
function parseResponseJson(raw) {
|
|
711
|
+
try {
|
|
712
|
+
return JSON.parse(raw);
|
|
713
|
+
}
|
|
714
|
+
catch {
|
|
715
|
+
throw new Error('Input response must be valid JSON');
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
function validateInputResponse(params) {
|
|
719
|
+
const validator = sharedAjv.compile(params.schema);
|
|
720
|
+
const ok = validator(params.response);
|
|
721
|
+
if (ok)
|
|
722
|
+
return;
|
|
723
|
+
const first = validator.errors?.[0];
|
|
724
|
+
const pathValue = first?.instancePath || '/';
|
|
725
|
+
const reason = first?.message ? ` ${first.message}` : '';
|
|
726
|
+
throw new Error(`Workflow input step ${params.stepId} response failed schema validation at ${pathValue}:${reason}`);
|
|
727
|
+
}
|
|
728
|
+
function resolveInputSubject(params) {
|
|
729
|
+
if (params.step.stdin !== undefined) {
|
|
730
|
+
return resolveInputValue(params.step.stdin, params.args, params.results);
|
|
731
|
+
}
|
|
732
|
+
if (!params.lastStepId)
|
|
733
|
+
return null;
|
|
734
|
+
const previous = params.results[params.lastStepId];
|
|
735
|
+
if (!previous)
|
|
736
|
+
return null;
|
|
737
|
+
if (previous.json !== undefined)
|
|
738
|
+
return previous.json;
|
|
739
|
+
if (previous.response !== undefined)
|
|
740
|
+
return previous.response;
|
|
741
|
+
if (previous.stdout !== undefined)
|
|
742
|
+
return previous.stdout;
|
|
743
|
+
return null;
|
|
744
|
+
}
|
|
745
|
+
function maybeTruncateInputSubject(subject) {
|
|
746
|
+
let serialized = '';
|
|
747
|
+
try {
|
|
748
|
+
serialized = JSON.stringify(subject ?? null);
|
|
749
|
+
}
|
|
750
|
+
catch {
|
|
751
|
+
return {
|
|
752
|
+
truncated: true,
|
|
753
|
+
bytes: 0,
|
|
754
|
+
preview: '[unserializable subject]',
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
const byteLength = Buffer.byteLength(serialized, 'utf8');
|
|
758
|
+
if (byteLength <= MAX_NEEDS_INPUT_SUBJECT_BYTES)
|
|
759
|
+
return subject;
|
|
760
|
+
return {
|
|
761
|
+
truncated: true,
|
|
762
|
+
bytes: byteLength,
|
|
763
|
+
preview: serialized.slice(0, 2000),
|
|
764
|
+
};
|
|
765
|
+
}
|
|
766
|
+
function resolveToolEnvelopeMaxBytes(env) {
|
|
767
|
+
const raw = env?.LOBSTER_MAX_TOOL_ENVELOPE_BYTES;
|
|
768
|
+
const parsed = Number(raw);
|
|
769
|
+
if (!Number.isFinite(parsed) || parsed < 1024) {
|
|
770
|
+
return DEFAULT_TOOL_ENVELOPE_MAX_BYTES;
|
|
771
|
+
}
|
|
772
|
+
return Math.floor(parsed);
|
|
773
|
+
}
|
|
774
|
+
function buildNeedsInputRequest(params) {
|
|
775
|
+
const base = {
|
|
776
|
+
type: 'input_request',
|
|
777
|
+
prompt: params.prompt,
|
|
778
|
+
responseSchema: params.responseSchema,
|
|
779
|
+
...(params.defaults !== undefined ? { defaults: params.defaults } : null),
|
|
780
|
+
};
|
|
781
|
+
let subject = params.subject;
|
|
782
|
+
let request = { ...base, subject };
|
|
783
|
+
if (fitsNeedsInputEnvelope(request, params.maxEnvelopeBytes))
|
|
784
|
+
return request;
|
|
785
|
+
subject = maybeTruncateInputSubject(subject);
|
|
786
|
+
request = { ...base, subject };
|
|
787
|
+
if (fitsNeedsInputEnvelope(request, params.maxEnvelopeBytes))
|
|
788
|
+
return request;
|
|
789
|
+
request = {
|
|
790
|
+
...base,
|
|
791
|
+
subject: {
|
|
792
|
+
truncated: true,
|
|
793
|
+
bytes: estimateSerializedBytes(params.subject),
|
|
794
|
+
preview: '[subject omitted: envelope size limit]',
|
|
795
|
+
},
|
|
796
|
+
};
|
|
797
|
+
if (fitsNeedsInputEnvelope(request, params.maxEnvelopeBytes))
|
|
798
|
+
return request;
|
|
799
|
+
throw new Error(`Workflow input step ${params.stepId} needs_input envelope exceeds ${params.maxEnvelopeBytes} bytes even after subject truncation`);
|
|
800
|
+
}
|
|
801
|
+
function fitsNeedsInputEnvelope(request, maxEnvelopeBytes) {
|
|
802
|
+
const envelope = {
|
|
803
|
+
protocolVersion: 1,
|
|
804
|
+
ok: true,
|
|
805
|
+
status: 'needs_input',
|
|
806
|
+
output: [],
|
|
807
|
+
requiresApproval: null,
|
|
808
|
+
requiresInput: {
|
|
809
|
+
...request,
|
|
810
|
+
resumeToken: RESUME_TOKEN_PLACEHOLDER,
|
|
811
|
+
},
|
|
812
|
+
};
|
|
813
|
+
return estimateSerializedBytes(envelope) <= maxEnvelopeBytes;
|
|
814
|
+
}
|
|
815
|
+
function estimateSerializedBytes(value) {
|
|
816
|
+
try {
|
|
817
|
+
return Buffer.byteLength(JSON.stringify(value), 'utf8');
|
|
818
|
+
}
|
|
819
|
+
catch {
|
|
820
|
+
return Number.POSITIVE_INFINITY;
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
function renderTemplateValue(value) {
|
|
824
|
+
if (value === undefined || value === null)
|
|
825
|
+
return '';
|
|
826
|
+
if (typeof value === 'string')
|
|
827
|
+
return value;
|
|
828
|
+
if (typeof value === 'number' || typeof value === 'boolean' || typeof value === 'bigint') {
|
|
829
|
+
return String(value);
|
|
830
|
+
}
|
|
831
|
+
try {
|
|
832
|
+
return JSON.stringify(value);
|
|
833
|
+
}
|
|
834
|
+
catch {
|
|
835
|
+
return String(value);
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
function getValueByPath(value, pathValue) {
|
|
839
|
+
const fields = pathValue.split('.');
|
|
840
|
+
let current = value;
|
|
841
|
+
for (const field of fields) {
|
|
842
|
+
if (current === null || current === undefined)
|
|
843
|
+
return undefined;
|
|
844
|
+
if (Array.isArray(current)) {
|
|
845
|
+
const idx = Number(field);
|
|
846
|
+
if (!Number.isInteger(idx) || idx < 0 || idx >= current.length)
|
|
847
|
+
return undefined;
|
|
848
|
+
current = current[idx];
|
|
849
|
+
continue;
|
|
850
|
+
}
|
|
851
|
+
if (typeof current !== 'object')
|
|
852
|
+
return undefined;
|
|
853
|
+
current = current[field];
|
|
854
|
+
}
|
|
855
|
+
return current;
|
|
856
|
+
}
|
|
857
|
+
function evaluateConditionExpression(expression, results) {
|
|
858
|
+
const tokens = tokenizeCondition(expression);
|
|
859
|
+
if (tokens.length === 0) {
|
|
860
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
861
|
+
}
|
|
862
|
+
let index = 0;
|
|
863
|
+
function parseOr() {
|
|
864
|
+
let left = parseAnd();
|
|
865
|
+
while (match('or')) {
|
|
866
|
+
const right = parseAnd();
|
|
867
|
+
left = Boolean(left) || Boolean(right);
|
|
868
|
+
}
|
|
869
|
+
return left;
|
|
870
|
+
}
|
|
871
|
+
function parseAnd() {
|
|
872
|
+
let left = parseEquality();
|
|
873
|
+
while (match('and')) {
|
|
874
|
+
const right = parseEquality();
|
|
875
|
+
left = Boolean(left) && Boolean(right);
|
|
876
|
+
}
|
|
877
|
+
return left;
|
|
878
|
+
}
|
|
879
|
+
function parseEquality() {
|
|
880
|
+
const left = parseUnary(false);
|
|
881
|
+
if (match('eq')) {
|
|
882
|
+
return compareConditionValues(left, parseUnary(true));
|
|
883
|
+
}
|
|
884
|
+
if (match('neq')) {
|
|
885
|
+
return !compareConditionValues(left, parseUnary(true));
|
|
886
|
+
}
|
|
887
|
+
return left;
|
|
888
|
+
}
|
|
889
|
+
function parseUnary(allowBareIdentifier) {
|
|
890
|
+
if (match('not')) {
|
|
891
|
+
return !Boolean(parseUnary(allowBareIdentifier));
|
|
892
|
+
}
|
|
893
|
+
return parsePrimary(allowBareIdentifier);
|
|
894
|
+
}
|
|
895
|
+
function parsePrimary(allowBareIdentifier) {
|
|
896
|
+
const token = tokens[index];
|
|
897
|
+
if (!token) {
|
|
898
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
899
|
+
}
|
|
900
|
+
index += 1;
|
|
901
|
+
if (token.type === 'lparen') {
|
|
902
|
+
const value = parseOr();
|
|
903
|
+
expect('rparen');
|
|
904
|
+
return value;
|
|
905
|
+
}
|
|
906
|
+
if (token.type === 'step_ref') {
|
|
907
|
+
return getStepRefValue(token.value, results, true);
|
|
908
|
+
}
|
|
909
|
+
if (token.type === 'string' || token.type === 'number' || token.type === 'boolean' || token.type === 'null') {
|
|
910
|
+
return token.value;
|
|
911
|
+
}
|
|
912
|
+
if (token.type === 'identifier' && allowBareIdentifier) {
|
|
913
|
+
return token.value;
|
|
914
|
+
}
|
|
915
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
916
|
+
}
|
|
917
|
+
function match(type) {
|
|
918
|
+
if (tokens[index]?.type !== type)
|
|
919
|
+
return false;
|
|
920
|
+
index += 1;
|
|
921
|
+
return true;
|
|
922
|
+
}
|
|
923
|
+
function expect(type) {
|
|
924
|
+
if (!match(type)) {
|
|
925
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
const value = parseOr();
|
|
929
|
+
if (index !== tokens.length) {
|
|
930
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
931
|
+
}
|
|
932
|
+
return Boolean(value);
|
|
933
|
+
}
|
|
934
|
+
function compareConditionValues(left, right) {
|
|
935
|
+
if (Array.isArray(left) || Array.isArray(right) || isPlainConditionObject(left) || isPlainConditionObject(right)) {
|
|
936
|
+
return isDeepStrictEqual(left, right);
|
|
937
|
+
}
|
|
938
|
+
return Object.is(left, right);
|
|
939
|
+
}
|
|
940
|
+
function isPlainConditionObject(value) {
|
|
941
|
+
return Boolean(value) && typeof value === 'object' && !Array.isArray(value);
|
|
942
|
+
}
|
|
943
|
+
function tokenizeCondition(expression) {
|
|
944
|
+
const tokens = [];
|
|
945
|
+
let index = 0;
|
|
946
|
+
while (index < expression.length) {
|
|
947
|
+
const ch = expression[index];
|
|
948
|
+
if (/\s/.test(ch)) {
|
|
949
|
+
index += 1;
|
|
950
|
+
continue;
|
|
951
|
+
}
|
|
952
|
+
if (ch === '(') {
|
|
953
|
+
tokens.push({ type: 'lparen' });
|
|
954
|
+
index += 1;
|
|
955
|
+
continue;
|
|
956
|
+
}
|
|
957
|
+
if (ch === ')') {
|
|
958
|
+
tokens.push({ type: 'rparen' });
|
|
959
|
+
index += 1;
|
|
960
|
+
continue;
|
|
961
|
+
}
|
|
962
|
+
if (expression.startsWith('&&', index)) {
|
|
963
|
+
tokens.push({ type: 'and' });
|
|
964
|
+
index += 2;
|
|
965
|
+
continue;
|
|
966
|
+
}
|
|
967
|
+
if (expression.startsWith('||', index)) {
|
|
968
|
+
tokens.push({ type: 'or' });
|
|
969
|
+
index += 2;
|
|
970
|
+
continue;
|
|
971
|
+
}
|
|
972
|
+
if (expression.startsWith('==', index)) {
|
|
973
|
+
tokens.push({ type: 'eq' });
|
|
974
|
+
index += 2;
|
|
975
|
+
continue;
|
|
976
|
+
}
|
|
977
|
+
if (expression.startsWith('!=', index)) {
|
|
978
|
+
tokens.push({ type: 'neq' });
|
|
979
|
+
index += 2;
|
|
980
|
+
continue;
|
|
981
|
+
}
|
|
982
|
+
if (ch === '!') {
|
|
983
|
+
tokens.push({ type: 'not' });
|
|
984
|
+
index += 1;
|
|
985
|
+
continue;
|
|
986
|
+
}
|
|
987
|
+
if (ch === '$') {
|
|
988
|
+
const matched = matchConditionStepRef(expression, index);
|
|
989
|
+
if (!matched) {
|
|
990
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
991
|
+
}
|
|
992
|
+
tokens.push({ type: 'step_ref', value: matched.ref });
|
|
993
|
+
index = matched.nextIndex;
|
|
994
|
+
continue;
|
|
995
|
+
}
|
|
996
|
+
if (ch === '"' || ch === '\'') {
|
|
997
|
+
const parsed = parseQuotedConditionString(expression, index, ch);
|
|
998
|
+
tokens.push({ type: 'string', value: parsed.value });
|
|
999
|
+
index = parsed.nextIndex;
|
|
1000
|
+
continue;
|
|
1001
|
+
}
|
|
1002
|
+
const numberMatch = expression.slice(index).match(/^-?\d+(?:\.\d+)?/);
|
|
1003
|
+
if (numberMatch) {
|
|
1004
|
+
tokens.push({ type: 'number', value: Number(numberMatch[0]) });
|
|
1005
|
+
index += numberMatch[0].length;
|
|
1006
|
+
continue;
|
|
1007
|
+
}
|
|
1008
|
+
const identMatch = expression.slice(index).match(/^[A-Za-z_][A-Za-z0-9_-]*/);
|
|
1009
|
+
if (identMatch) {
|
|
1010
|
+
const raw = identMatch[0];
|
|
1011
|
+
if (raw === 'true') {
|
|
1012
|
+
tokens.push({ type: 'boolean', value: true });
|
|
1013
|
+
}
|
|
1014
|
+
else if (raw === 'false') {
|
|
1015
|
+
tokens.push({ type: 'boolean', value: false });
|
|
1016
|
+
}
|
|
1017
|
+
else if (raw === 'null') {
|
|
1018
|
+
tokens.push({ type: 'null', value: null });
|
|
1019
|
+
}
|
|
1020
|
+
else {
|
|
1021
|
+
tokens.push({ type: 'identifier', value: raw });
|
|
1022
|
+
}
|
|
1023
|
+
index += raw.length;
|
|
1024
|
+
continue;
|
|
1025
|
+
}
|
|
1026
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
1027
|
+
}
|
|
1028
|
+
return tokens;
|
|
1029
|
+
}
|
|
1030
|
+
function matchConditionStepRef(expression, startIndex) {
|
|
1031
|
+
const match = expression
|
|
1032
|
+
.slice(startIndex)
|
|
1033
|
+
.match(/^\$([A-Za-z0-9_-]+)\.([A-Za-z0-9_]+(?:\.[A-Za-z0-9_]+)*)/);
|
|
1034
|
+
if (!match)
|
|
1035
|
+
return null;
|
|
1036
|
+
return {
|
|
1037
|
+
ref: { id: match[1], path: match[2] },
|
|
1038
|
+
nextIndex: startIndex + match[0].length,
|
|
1039
|
+
};
|
|
1040
|
+
}
|
|
1041
|
+
function parseQuotedConditionString(expression, startIndex, quoteChar) {
|
|
1042
|
+
let value = '';
|
|
1043
|
+
let index = startIndex + 1;
|
|
1044
|
+
while (index < expression.length) {
|
|
1045
|
+
const ch = expression[index];
|
|
1046
|
+
if (ch === '\\') {
|
|
1047
|
+
const next = expression[index + 1];
|
|
1048
|
+
if (next === undefined)
|
|
1049
|
+
break;
|
|
1050
|
+
value += next;
|
|
1051
|
+
index += 2;
|
|
1052
|
+
continue;
|
|
1053
|
+
}
|
|
1054
|
+
if (ch === quoteChar) {
|
|
1055
|
+
return { value, nextIndex: index + 1 };
|
|
1056
|
+
}
|
|
1057
|
+
value += ch;
|
|
1058
|
+
index += 1;
|
|
1059
|
+
}
|
|
1060
|
+
throw new Error(`Unsupported condition: ${expression}`);
|
|
1061
|
+
}
|
|
1062
|
+
async function runShellCommand({ command, stdin, env, cwd, signal, }) {
|
|
1063
|
+
const { spawn } = await import('node:child_process');
|
|
1064
|
+
return await new Promise((resolve, reject) => {
|
|
1065
|
+
const shell = resolveInlineShellCommand({ command, env });
|
|
1066
|
+
const child = spawn(shell.command, shell.argv, {
|
|
1067
|
+
env,
|
|
1068
|
+
cwd,
|
|
1069
|
+
signal,
|
|
1070
|
+
stdio: ['pipe', 'pipe', 'pipe'],
|
|
1071
|
+
});
|
|
1072
|
+
let stdout = '';
|
|
1073
|
+
let stderr = '';
|
|
1074
|
+
child.stdout.setEncoding('utf8');
|
|
1075
|
+
child.stderr.setEncoding('utf8');
|
|
1076
|
+
child.stdout.on('data', (d) => { stdout += d; });
|
|
1077
|
+
child.stderr.on('data', (d) => { stderr += d; });
|
|
1078
|
+
if (typeof stdin === 'string') {
|
|
1079
|
+
child.stdin.setDefaultEncoding('utf8');
|
|
1080
|
+
child.stdin.write(stdin);
|
|
1081
|
+
}
|
|
1082
|
+
child.stdin.end();
|
|
1083
|
+
child.on('error', reject);
|
|
1084
|
+
child.on('close', (code) => {
|
|
1085
|
+
if (code === 0)
|
|
1086
|
+
return resolve({ stdout, stderr });
|
|
1087
|
+
reject(new Error(`workflow command failed (${code}): ${stderr.trim() || stdout.trim() || command}`));
|
|
1088
|
+
});
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
function getStepExecution(step) {
|
|
1092
|
+
if (typeof step.pipeline === 'string' && step.pipeline.trim()) {
|
|
1093
|
+
return { kind: 'pipeline', value: step.pipeline };
|
|
1094
|
+
}
|
|
1095
|
+
const shellCommand = typeof step.run === 'string' ? step.run : step.command;
|
|
1096
|
+
if (typeof shellCommand === 'string' && shellCommand.trim()) {
|
|
1097
|
+
return { kind: 'shell', value: shellCommand };
|
|
1098
|
+
}
|
|
1099
|
+
return { kind: 'none' };
|
|
1100
|
+
}
|
|
1101
|
+
async function runPipelineStep({ stepId, pipelineText, inputValue, ctx, env, cwd, }) {
|
|
1102
|
+
let pipeline;
|
|
1103
|
+
try {
|
|
1104
|
+
pipeline = parsePipeline(pipelineText);
|
|
1105
|
+
}
|
|
1106
|
+
catch (err) {
|
|
1107
|
+
throw new Error(`Workflow step ${stepId} pipeline parse failed: ${err?.message ?? String(err)}`);
|
|
1108
|
+
}
|
|
1109
|
+
const stdout = new PassThrough();
|
|
1110
|
+
let renderedStdout = '';
|
|
1111
|
+
stdout.setEncoding('utf8');
|
|
1112
|
+
stdout.on('data', (chunk) => {
|
|
1113
|
+
renderedStdout += String(chunk);
|
|
1114
|
+
});
|
|
1115
|
+
const result = await runPipeline({
|
|
1116
|
+
pipeline,
|
|
1117
|
+
registry: ctx.registry,
|
|
1118
|
+
stdin: ctx.stdin,
|
|
1119
|
+
stdout,
|
|
1120
|
+
stderr: ctx.stderr,
|
|
1121
|
+
env,
|
|
1122
|
+
mode: ctx.mode,
|
|
1123
|
+
cwd,
|
|
1124
|
+
signal: ctx.signal,
|
|
1125
|
+
llmAdapters: ctx.llmAdapters,
|
|
1126
|
+
input: inputValueToStream(inputValue),
|
|
1127
|
+
});
|
|
1128
|
+
stdout.end();
|
|
1129
|
+
if (result.halted) {
|
|
1130
|
+
const haltedName = result.haltedAt?.stage?.name ?? 'unknown';
|
|
1131
|
+
if (result.items.length === 1 && result.items[0]?.type === 'approval_request') {
|
|
1132
|
+
throw new Error(`Workflow step ${stepId} halted for approval inside pipeline stage ${haltedName}. Use a separate approval step in the workflow file.`);
|
|
1133
|
+
}
|
|
1134
|
+
throw new Error(`Workflow step ${stepId} halted before completion at pipeline stage ${haltedName}`);
|
|
1135
|
+
}
|
|
1136
|
+
const normalizedStdout = renderedStdout || serializePipelineItemsToStdout(result.items);
|
|
1137
|
+
const json = result.items.length
|
|
1138
|
+
? (result.items.length === 1 ? result.items[0] : result.items)
|
|
1139
|
+
: parseJson(renderedStdout);
|
|
1140
|
+
return {
|
|
1141
|
+
id: stepId,
|
|
1142
|
+
stdout: normalizedStdout,
|
|
1143
|
+
json,
|
|
1144
|
+
};
|
|
1145
|
+
}
|
|
1146
|
+
function createSyntheticStepResult(stepId, value) {
|
|
1147
|
+
if (value === null || value === undefined) {
|
|
1148
|
+
return { id: stepId };
|
|
1149
|
+
}
|
|
1150
|
+
if (typeof value === 'string') {
|
|
1151
|
+
return {
|
|
1152
|
+
id: stepId,
|
|
1153
|
+
stdout: value,
|
|
1154
|
+
json: parseJson(value),
|
|
1155
|
+
};
|
|
1156
|
+
}
|
|
1157
|
+
return {
|
|
1158
|
+
id: stepId,
|
|
1159
|
+
stdout: serializeValueForStdout(value),
|
|
1160
|
+
json: value,
|
|
1161
|
+
};
|
|
1162
|
+
}
|
|
1163
|
+
function encodeShellInput(value) {
|
|
1164
|
+
if (value === null || value === undefined)
|
|
1165
|
+
return null;
|
|
1166
|
+
if (typeof value === 'string')
|
|
1167
|
+
return value;
|
|
1168
|
+
return JSON.stringify(value);
|
|
1169
|
+
}
|
|
1170
|
+
function* inputValueToItems(value) {
|
|
1171
|
+
if (value === null || value === undefined)
|
|
1172
|
+
return;
|
|
1173
|
+
if (Array.isArray(value)) {
|
|
1174
|
+
for (const item of value)
|
|
1175
|
+
yield item;
|
|
1176
|
+
return;
|
|
1177
|
+
}
|
|
1178
|
+
yield value;
|
|
1179
|
+
}
|
|
1180
|
+
function inputValueToStream(value) {
|
|
1181
|
+
return (async function* () {
|
|
1182
|
+
for (const item of inputValueToItems(value)) {
|
|
1183
|
+
yield item;
|
|
1184
|
+
}
|
|
1185
|
+
})();
|
|
1186
|
+
}
|
|
1187
|
+
function serializePipelineItemsToStdout(items) {
|
|
1188
|
+
if (!items.length)
|
|
1189
|
+
return '';
|
|
1190
|
+
if (items.every((item) => typeof item === 'string')) {
|
|
1191
|
+
return items.map((item) => String(item)).join('\n');
|
|
1192
|
+
}
|
|
1193
|
+
if (items.length === 1) {
|
|
1194
|
+
return serializeValueForStdout(items[0]);
|
|
1195
|
+
}
|
|
1196
|
+
return JSON.stringify(items);
|
|
1197
|
+
}
|
|
1198
|
+
function serializeValueForStdout(value) {
|
|
1199
|
+
if (value === null || value === undefined)
|
|
1200
|
+
return '';
|
|
1201
|
+
if (typeof value === 'string')
|
|
1202
|
+
return value;
|
|
1203
|
+
return JSON.stringify(value);
|
|
1204
|
+
}
|
|
1205
|
+
function normalizeApprovalConfig(approval) {
|
|
1206
|
+
if (approval === true || approval === 'required' || approval === undefined || approval === false) {
|
|
1207
|
+
return {};
|
|
1208
|
+
}
|
|
1209
|
+
if (typeof approval === 'string') {
|
|
1210
|
+
return { prompt: approval };
|
|
1211
|
+
}
|
|
1212
|
+
if (approval && typeof approval === 'object' && !Array.isArray(approval)) {
|
|
1213
|
+
return approval;
|
|
1214
|
+
}
|
|
1215
|
+
return {};
|
|
1216
|
+
}
|
|
1217
|
+
function normalizeApprovalItems(value) {
|
|
1218
|
+
if (value === undefined)
|
|
1219
|
+
return [];
|
|
1220
|
+
return Array.isArray(value) ? value : [value];
|
|
1221
|
+
}
|
|
1222
|
+
function buildResultPreview(result) {
|
|
1223
|
+
if (result.stdout)
|
|
1224
|
+
return result.stdout.trim().slice(0, 2000);
|
|
1225
|
+
if (result.json !== undefined)
|
|
1226
|
+
return serializeValueForStdout(result.json).trim().slice(0, 2000);
|
|
1227
|
+
return undefined;
|
|
1228
|
+
}
|
|
1229
|
+
//# sourceMappingURL=file.js.map
|