omegon-pi 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +3 -0
- package/.omegon/profile.json +7 -0
- package/AGENTS.md +16 -0
- package/ARCHIVE_NOTE.md +28 -0
- package/LICENSE +15 -0
- package/README.md +296 -0
- package/bin/omegon-pi.mjs +244 -0
- package/bin/pi.mjs +9 -0
- package/extensions/00-secrets/index.ts +1239 -0
- package/extensions/00-splash/index.ts +604 -0
- package/extensions/00-splash/logo.ts +246 -0
- package/extensions/01-auth/auth.ts +476 -0
- package/extensions/01-auth/index.ts +289 -0
- package/extensions/auto-compact.ts +42 -0
- package/extensions/bootstrap/deps.ts +451 -0
- package/extensions/bootstrap/index.ts +1123 -0
- package/extensions/chronos/chronos.ts +324 -0
- package/extensions/chronos/index.ts +127 -0
- package/extensions/cleave/assessment.ts +768 -0
- package/extensions/cleave/bridge.ts +31 -0
- package/extensions/cleave/conflicts.ts +250 -0
- package/extensions/cleave/dispatcher.ts +1367 -0
- package/extensions/cleave/guardrails.ts +426 -0
- package/extensions/cleave/index.ts +3114 -0
- package/extensions/cleave/lifecycle-emitter.ts +20 -0
- package/extensions/cleave/native-dispatch.ts +218 -0
- package/extensions/cleave/openspec.ts +811 -0
- package/extensions/cleave/planner.ts +260 -0
- package/extensions/cleave/review.ts +580 -0
- package/extensions/cleave/rpc-child.ts +269 -0
- package/extensions/cleave/skills.ts +355 -0
- package/extensions/cleave/subprocess-tracker.ts +205 -0
- package/extensions/cleave/types.ts +315 -0
- package/extensions/cleave/workspace.ts +865 -0
- package/extensions/cleave/worktree.ts +243 -0
- package/extensions/core-renderers.ts +193 -0
- package/extensions/dashboard/context-gauge.ts +58 -0
- package/extensions/dashboard/file-watch.ts +14 -0
- package/extensions/dashboard/footer.ts +1375 -0
- package/extensions/dashboard/git.ts +193 -0
- package/extensions/dashboard/index.ts +481 -0
- package/extensions/dashboard/memory-audit.ts +34 -0
- package/extensions/dashboard/overlay-data.ts +705 -0
- package/extensions/dashboard/overlay.ts +365 -0
- package/extensions/dashboard/render-utils.ts +54 -0
- package/extensions/dashboard/types.ts +206 -0
- package/extensions/dashboard/uri-helper.ts +45 -0
- package/extensions/defaults.ts +274 -0
- package/extensions/design-tree/dashboard-state.ts +161 -0
- package/extensions/design-tree/design-card.ts +362 -0
- package/extensions/design-tree/index.ts +2181 -0
- package/extensions/design-tree/lifecycle-emitter.ts +41 -0
- package/extensions/design-tree/tree.ts +1720 -0
- package/extensions/design-tree/types.ts +165 -0
- package/extensions/effort/index.ts +532 -0
- package/extensions/effort/tiers.ts +146 -0
- package/extensions/effort/types.ts +105 -0
- package/extensions/igor/client.ts +167 -0
- package/extensions/igor/context.ts +61 -0
- package/extensions/igor/index.ts +259 -0
- package/extensions/igor/intents.ts +78 -0
- package/extensions/lib/debug.ts +69 -0
- package/extensions/lib/git-state.ts +227 -0
- package/extensions/lib/local-models.ts +157 -0
- package/extensions/lib/model-preferences.ts +51 -0
- package/extensions/lib/model-routing.ts +992 -0
- package/extensions/lib/omegon-subprocess.ts +152 -0
- package/extensions/lib/operator-fallback.ts +205 -0
- package/extensions/lib/operator-profile.ts +360 -0
- package/extensions/lib/provider-env.ts +163 -0
- package/extensions/lib/sci-ui.ts +421 -0
- package/extensions/lib/shared-state.ts +174 -0
- package/extensions/lib/slash-command-bridge.ts +262 -0
- package/extensions/lib/splash-state.ts +25 -0
- package/extensions/lib/typebox-helpers.ts +16 -0
- package/extensions/lib/types.d.ts +9 -0
- package/extensions/local-inference/index.ts +727 -0
- package/extensions/mcp-bridge/README.md +220 -0
- package/extensions/mcp-bridge/index.ts +956 -0
- package/extensions/mcp-bridge/lib.ts +365 -0
- package/extensions/mcp-bridge/mcp.json +3 -0
- package/extensions/mcp-bridge/package.json +11 -0
- package/extensions/model-budget.ts +752 -0
- package/extensions/offline-driver.ts +410 -0
- package/extensions/openspec/archive-gate.ts +164 -0
- package/extensions/openspec/branch-cleanup.ts +64 -0
- package/extensions/openspec/dashboard-state.ts +50 -0
- package/extensions/openspec/index.ts +1942 -0
- package/extensions/openspec/lifecycle-emitter.ts +65 -0
- package/extensions/openspec/lifecycle-files.ts +120 -0
- package/extensions/openspec/lifecycle.ts +50 -0
- package/extensions/openspec/reconcile.ts +187 -0
- package/extensions/openspec/spec.ts +1392 -0
- package/extensions/openspec/types.ts +98 -0
- package/extensions/project-memory/DESIGN-global-mind.md +198 -0
- package/extensions/project-memory/README.md +204 -0
- package/extensions/project-memory/api-types.ts +382 -0
- package/extensions/project-memory/compaction-policy.ts +29 -0
- package/extensions/project-memory/core.ts +164 -0
- package/extensions/project-memory/embeddings.ts +230 -0
- package/extensions/project-memory/extraction-v2.ts +636 -0
- package/extensions/project-memory/factstore.ts +2317 -0
- package/extensions/project-memory/index.ts +3517 -0
- package/extensions/project-memory/injection-metrics.ts +123 -0
- package/extensions/project-memory/jsonl-io.ts +36 -0
- package/extensions/project-memory/lifecycle.ts +340 -0
- package/extensions/project-memory/llm-direct.ts +260 -0
- package/extensions/project-memory/migration.ts +293 -0
- package/extensions/project-memory/package.json +9 -0
- package/extensions/project-memory/sci-renderers.ts +7 -0
- package/extensions/project-memory/template.ts +103 -0
- package/extensions/project-memory/triggers.ts +52 -0
- package/extensions/project-memory/types.ts +102 -0
- package/extensions/render/composition/fonts/Inter-Bold.ttf +0 -0
- package/extensions/render/composition/fonts/Inter-Regular.ttf +0 -0
- package/extensions/render/composition/fonts/Tomorrow-Bold.ttf +0 -0
- package/extensions/render/composition/fonts/Tomorrow-Regular.ttf +0 -0
- package/extensions/render/composition/package.json +22 -0
- package/extensions/render/composition/render.mjs +246 -0
- package/extensions/render/composition/test-comp.tsx +87 -0
- package/extensions/render/composition/types.ts +24 -0
- package/extensions/render/excalidraw/UPSTREAM.md +81 -0
- package/extensions/render/excalidraw/elements.ts +764 -0
- package/extensions/render/excalidraw/index.ts +66 -0
- package/extensions/render/excalidraw/types.ts +223 -0
- package/extensions/render/excalidraw-renderer/pyproject.toml +8 -0
- package/extensions/render/excalidraw-renderer/render_excalidraw.py +182 -0
- package/extensions/render/excalidraw-renderer/render_template.html +59 -0
- package/extensions/render/index.ts +830 -0
- package/extensions/render/native-diagrams/index.ts +57 -0
- package/extensions/render/native-diagrams/motifs.ts +542 -0
- package/extensions/render/native-diagrams/raster.ts +8 -0
- package/extensions/render/native-diagrams/scene.ts +75 -0
- package/extensions/render/native-diagrams/spec.ts +204 -0
- package/extensions/render/native-diagrams/svg.ts +116 -0
- package/extensions/sermon-widget.ts +144 -0
- package/extensions/sermon.ts +154 -0
- package/extensions/session-log.ts +174 -0
- package/extensions/spinner-verbs.ts +312 -0
- package/extensions/style.ts +281 -0
- package/extensions/terminal-title.ts +191 -0
- package/extensions/tool-profile/index.ts +296 -0
- package/extensions/tool-profile/profiles.ts +290 -0
- package/extensions/vault/index.ts +185 -0
- package/extensions/version-check.ts +94 -0
- package/extensions/view/index.ts +859 -0
- package/extensions/view/uri-resolver.ts +148 -0
- package/extensions/web-search/index.ts +185 -0
- package/extensions/web-search/providers.ts +121 -0
- package/extensions/web-ui/index.ts +110 -0
- package/extensions/web-ui/server.ts +265 -0
- package/extensions/web-ui/state.ts +462 -0
- package/extensions/web-ui/static/index.html +145 -0
- package/extensions/web-ui/types.ts +284 -0
- package/graphics/g140.png +0 -0
- package/graphics/icon.jpg +0 -0
- package/graphics/icon.svg +562 -0
- package/graphics/path1-4.jpg +0 -0
- package/node_modules/@mariozechner/clipboard/.yarnrc.yml +1 -0
- package/node_modules/@mariozechner/clipboard/Cargo.toml +26 -0
- package/node_modules/@mariozechner/clipboard/README.md +58 -0
- package/node_modules/@mariozechner/clipboard/build.rs +5 -0
- package/node_modules/@mariozechner/clipboard/exp.ts +12 -0
- package/node_modules/@mariozechner/clipboard/index.d.ts +23 -0
- package/node_modules/@mariozechner/clipboard/index.js +317 -0
- package/node_modules/@mariozechner/clipboard/package.json +56 -0
- package/node_modules/@mariozechner/clipboard/src/lib.rs +191 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/clipboard.darwin-arm64.node +0 -0
- package/node_modules/@mariozechner/clipboard-darwin-arm64/package.json +22 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/README.md +3 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/clipboard.darwin-universal.node +0 -0
- package/node_modules/@mariozechner/clipboard-darwin-universal/package.json +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.d.ts +55 -0
- package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.js +670 -0
- package/node_modules/@sinclair/typebox/build/cjs/compiler/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/compiler/index.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/errors.d.ts +91 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/errors.js +599 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/function.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/function.js +153 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/errors/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/index.d.ts +71 -0
- package/node_modules/@sinclair/typebox/build/cjs/index.js +97 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/index.js +39 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.d.ts +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.js +86 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.js +45 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.js +160 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.d.ts +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.js +230 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.d.ts +98 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.js +71 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.js +43 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.d.ts +108 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.d.ts +69 -0
- package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.d.ts +167 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.js +491 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.d.ts +162 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.js +191 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.js +54 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/policy.d.ts +29 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/policy.js +58 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/system.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/system/system.js +43 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/any/any.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/any/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts +28 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/array/array.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/array/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.js +41 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.js +73 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.js +46 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts +27 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/const/const.js +58 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/const/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts +7 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.js +44 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.js +70 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/create/type.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/date/date.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/date/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.js +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/error/error.js +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/error/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.js +29 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.js +641 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.js +29 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.js +24 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.js +27 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.js +29 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/function/function.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/function/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.js +40 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts +147 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.js +320 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts +152 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.js +597 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts +34 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.js +89 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts +42 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.js +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/index.d.ts +71 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/index.js +88 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.js +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.js +26 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.js +24 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.js +36 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts +52 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.js +98 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.js +44 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts +50 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.js +153 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.js +42 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts +15 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.js +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.js +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.js +30 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.js +68 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.js +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts +7 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.js +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts +24 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.js +78 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.js +40 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.js +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.js +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts +47 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.js +107 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts +59 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.js +205 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts +49 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts +27 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/module/module.js +38 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/never/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/never/never.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/not/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/not/not.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/null/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/null/null.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/number/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/number/number.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/object/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts +51 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/object/object.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.js +26 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts +36 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.js +75 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.js +26 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts +7 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.js +44 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts +35 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.js +111 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.js +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.js +28 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.js +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts +36 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.js +70 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.js +26 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/record/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts +71 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/record/record.js +123 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts +41 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.js +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.js +35 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.js +39 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.js +35 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.js +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts +35 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/required/required.js +110 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.js +44 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts +33 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.js +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts +29 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.js +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts +28 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.js +59 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/static/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts +39 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/static/static.js +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/string/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts +25 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/string/string.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts +19 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.js +56 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts +21 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.js +60 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts +7 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.js +24 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.js +174 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.js +39 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.js +59 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts +30 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.js +17 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.js +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts +30 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.js +47 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.js +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/index.js +51 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts +64 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.js +104 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts +208 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/json.js +226 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/type.d.ts +59 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/type/type.js +129 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.js +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts +13 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.js +40 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.js +4 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/union/union.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts +8 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/void/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/type/void/void.js +10 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.d.ts +15 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.js +55 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.js +241 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/check/check.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/check/check.js +476 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/check/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/check/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.js +149 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.js +60 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.js +264 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/create/create.d.ts +11 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/create/create.js +474 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/create/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/create/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.js +14 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/default/default.d.ts +5 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/default/default.js +176 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/default/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/default/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.d.ts +32 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.js +178 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.d.ts +12 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.js +36 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.d.ts +6 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.js +15 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.d.ts +2 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.js +50 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.d.ts +74 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.js +195 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.d.ts +7 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.js +152 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/index.d.ts +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/index.js +53 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.d.ts +9 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.js +104 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.js +18 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.d.ts +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.js +87 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.js +38 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.d.ts +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.js +126 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.d.ts +22 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.js +214 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.d.ts +23 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.js +225 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.js +133 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.d.ts +3 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.js +20 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/value/index.d.ts +1 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/value/index.js +38 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/value/value.d.ts +16 -0
- package/node_modules/@sinclair/typebox/build/cjs/value/value/value.js +39 -0
- package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.d.mts +55 -0
- package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.mjs +663 -0
- package/node_modules/@sinclair/typebox/build/esm/compiler/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/compiler/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/errors.d.mts +91 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/errors.mjs +592 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/function.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/function.mjs +147 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/errors/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/index.d.mts +71 -0
- package/node_modules/@sinclair/typebox/build/esm/index.mjs +80 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.d.mts +23 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.mjs +72 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.mjs +17 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.mjs +123 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.d.mts +8 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.mjs +223 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.d.mts +98 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.mjs +55 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/token.d.mts +108 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/token.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/types.d.mts +69 -0
- package/node_modules/@sinclair/typebox/build/esm/parser/static/types.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.d.mts +167 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.mjs +386 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/parser.d.mts +162 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/parser.mjs +78 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.mjs +16 -0
- package/node_modules/@sinclair/typebox/build/esm/system/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/system/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/system/policy.d.mts +29 -0
- package/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +54 -0
- package/node_modules/@sinclair/typebox/build/esm/system/system.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/system/system.mjs +37 -0
- package/node_modules/@sinclair/typebox/build/esm/type/any/any.d.mts +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/any/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/argument/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/array/array.d.mts +28 -0
- package/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/array/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.d.mts +14 -0
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +37 -0
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/type.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/value.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +36 -0
- package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.d.mts +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +42 -0
- package/node_modules/@sinclair/typebox/build/esm/type/composite/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/computed/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/const/const.d.mts +27 -0
- package/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +54 -0
- package/node_modules/@sinclair/typebox/build/esm/type/const/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.d.mts +23 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.d.mts +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +33 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/type.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +15 -0
- package/node_modules/@sinclair/typebox/build/esm/type/date/date.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/date/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/discard/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.d.mts +14 -0
- package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/enum/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/error/error.d.mts +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/error/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +25 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +635 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.d.mts +14 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +25 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +23 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/index.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +25 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/function/function.d.mts +23 -0
- package/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/function/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.d.mts +147 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +235 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/type.d.mts +152 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +509 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/value.d.mts +34 -0
- package/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +70 -0
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.d.mts +42 -0
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/index.d.mts +71 -0
- package/node_modules/@sinclair/typebox/build/esm/type/index.mjs +71 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.d.mts +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +22 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.d.mts +14 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +32 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.d.mts +52 -0
- package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +91 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.d.mts +50 -0
- package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +115 -0
- package/node_modules/@sinclair/typebox/build/esm/type/integer/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +38 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.d.mts +15 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +17 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.d.mts +14 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +26 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +64 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.d.mts +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +4 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.d.mts +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.d.mts +24 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +73 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +35 -0
- package/node_modules/@sinclair/typebox/build/esm/type/literal/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.d.mts +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.d.mts +47 -0
- package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +102 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/compute.d.mts +59 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +166 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/infer.d.mts +49 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/infer.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/module.d.mts +27 -0
- package/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +32 -0
- package/node_modules/@sinclair/typebox/build/esm/type/never/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/never/never.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/not/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/not/not.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/null/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/null/null.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/number/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/number/number.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/object/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/object/object.d.mts +51 -0
- package/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +22 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.d.mts +36 -0
- package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +71 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +22 -0
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.d.mts +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.d.mts +35 -0
- package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +74 -0
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.d.mts +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +24 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.d.mts +36 -0
- package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +66 -0
- package/node_modules/@sinclair/typebox/build/esm/type/promise/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +22 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/record/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/record/record.d.mts +71 -0
- package/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +116 -0
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +15 -0
- package/node_modules/@sinclair/typebox/build/esm/type/ref/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.d.mts +41 -0
- package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/format.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +26 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/type.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +26 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +18 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/required.d.mts +35 -0
- package/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +73 -0
- package/node_modules/@sinclair/typebox/build/esm/type/rest/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +15 -0
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.d.mts +33 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/index.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +2 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.d.mts +29 -0
- package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/sets/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/sets/set.d.mts +28 -0
- package/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +48 -0
- package/node_modules/@sinclair/typebox/build/esm/type/static/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/static/static.d.mts +39 -0
- package/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/string/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/string/string.d.mts +25 -0
- package/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.d.mts +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.d.mts +19 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +49 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.d.mts +21 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +53 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.d.mts +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +7 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +167 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +33 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +55 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.d.mts +30 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/transform/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.d.mts +30 -0
- package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +40 -0
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/index.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.d.mts +64 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +99 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/json.d.mts +208 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +221 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/type.d.mts +59 -0
- package/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +62 -0
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +5 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.d.mts +13 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +36 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +10 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.d.mts +8 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/type/void/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/type/void/void.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +6 -0
- package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.d.mts +15 -0
- package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.mjs +49 -0
- package/node_modules/@sinclair/typebox/build/esm/value/assert/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/assert/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.mjs +235 -0
- package/node_modules/@sinclair/typebox/build/esm/value/cast/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/cast/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/check/check.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/value/check/check.mjs +470 -0
- package/node_modules/@sinclair/typebox/build/esm/value/check/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/check/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.mjs +145 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clean/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clean/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.mjs +56 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clone/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/clone/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.mjs +260 -0
- package/node_modules/@sinclair/typebox/build/esm/value/convert/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/convert/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/create/create.d.mts +11 -0
- package/node_modules/@sinclair/typebox/build/esm/value/create/create.mjs +468 -0
- package/node_modules/@sinclair/typebox/build/esm/value/create/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/create/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.mjs +10 -0
- package/node_modules/@sinclair/typebox/build/esm/value/decode/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/decode/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/default/default.d.mts +5 -0
- package/node_modules/@sinclair/typebox/build/esm/value/default/default.mjs +172 -0
- package/node_modules/@sinclair/typebox/build/esm/value/default/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/default/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.d.mts +32 -0
- package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.mjs +171 -0
- package/node_modules/@sinclair/typebox/build/esm/value/delta/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/delta/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.d.mts +12 -0
- package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.mjs +29 -0
- package/node_modules/@sinclair/typebox/build/esm/value/deref/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/deref/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.d.mts +6 -0
- package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.mjs +11 -0
- package/node_modules/@sinclair/typebox/build/esm/value/encode/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/encode/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.d.mts +2 -0
- package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.mjs +46 -0
- package/node_modules/@sinclair/typebox/build/esm/value/equal/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/equal/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.d.mts +74 -0
- package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +158 -0
- package/node_modules/@sinclair/typebox/build/esm/value/guard/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.d.mts +7 -0
- package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.mjs +146 -0
- package/node_modules/@sinclair/typebox/build/esm/value/hash/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/hash/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/index.d.mts +20 -0
- package/node_modules/@sinclair/typebox/build/esm/value/index.mjs +32 -0
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.d.mts +9 -0
- package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.mjs +98 -0
- package/node_modules/@sinclair/typebox/build/esm/value/parse/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/parse/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.d.mts +22 -0
- package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.mjs +81 -0
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.d.mts +22 -0
- package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.mjs +115 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.d.mts +22 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.mjs +207 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.d.mts +23 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.mjs +218 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/has.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/has.mjs +129 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/index.d.mts +3 -0
- package/node_modules/@sinclair/typebox/build/esm/value/transform/index.mjs +3 -0
- package/node_modules/@sinclair/typebox/build/esm/value/value/index.d.mts +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/value/index.mjs +1 -0
- package/node_modules/@sinclair/typebox/build/esm/value/value/value.d.mts +16 -0
- package/node_modules/@sinclair/typebox/build/esm/value/value/value.mjs +16 -0
- package/node_modules/@sinclair/typebox/compiler/package.json +4 -0
- package/node_modules/@sinclair/typebox/errors/package.json +4 -0
- package/node_modules/@sinclair/typebox/license +25 -0
- package/node_modules/@sinclair/typebox/package.json +116 -0
- package/node_modules/@sinclair/typebox/parser/package.json +4 -0
- package/node_modules/@sinclair/typebox/readme.md +1865 -0
- package/node_modules/@sinclair/typebox/syntax/package.json +4 -0
- package/node_modules/@sinclair/typebox/system/package.json +4 -0
- package/node_modules/@sinclair/typebox/type/package.json +4 -0
- package/node_modules/@sinclair/typebox/value/package.json +4 -0
- package/node_modules/@styrene-lab/pi-agent-core/README.md +446 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent-loop.d.ts +24 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent-loop.js +447 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent-loop.js.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent.d.ts +171 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent.js +417 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/agent.js.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/index.d.ts +5 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/index.js +9 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/proxy.d.ts +85 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/proxy.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/proxy.js +268 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/proxy.js.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/types.d.ts +286 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/types.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/types.js +2 -0
- package/node_modules/@styrene-lab/pi-agent-core/dist/types.js.map +1 -0
- package/node_modules/@styrene-lab/pi-agent-core/package.json +44 -0
- package/node_modules/@styrene-lab/pi-ai/README.md +1201 -0
- package/node_modules/@styrene-lab/pi-ai/bedrock-provider.d.ts +1 -0
- package/node_modules/@styrene-lab/pi-ai/bedrock-provider.js +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/api-registry.d.ts +20 -0
- package/node_modules/@styrene-lab/pi-ai/dist/api-registry.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/api-registry.js +44 -0
- package/node_modules/@styrene-lab/pi-ai/dist/api-registry.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/bedrock-provider.d.ts +5 -0
- package/node_modules/@styrene-lab/pi-ai/dist/bedrock-provider.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/bedrock-provider.js +6 -0
- package/node_modules/@styrene-lab/pi-ai/dist/bedrock-provider.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/cli.d.ts +3 -0
- package/node_modules/@styrene-lab/pi-ai/dist/cli.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/cli.js +116 -0
- package/node_modules/@styrene-lab/pi-ai/dist/cli.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/env-api-keys.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-ai/dist/env-api-keys.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/env-api-keys.js +110 -0
- package/node_modules/@styrene-lab/pi-ai/dist/env-api-keys.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/index.d.ts +23 -0
- package/node_modules/@styrene-lab/pi-ai/dist/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/index.js +21 -0
- package/node_modules/@styrene-lab/pi-ai/dist/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.d.ts +24 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.generated.d.ts +14058 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.generated.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.generated.js +13846 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.generated.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.js +55 -0
- package/node_modules/@styrene-lab/pi-ai/dist/models.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/oauth.d.ts +2 -0
- package/node_modules/@styrene-lab/pi-ai/dist/oauth.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/oauth.js +2 -0
- package/node_modules/@styrene-lab/pi-ai/dist/oauth.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/amazon-bedrock.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/amazon-bedrock.js +610 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/amazon-bedrock.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/anthropic.d.ts +33 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/anthropic.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/anthropic.js +753 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/anthropic.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/azure-openai-responses.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/azure-openai-responses.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/azure-openai-responses.js +187 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/azure-openai-responses.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/github-copilot-headers.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/github-copilot-headers.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/github-copilot-headers.js +29 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/github-copilot-headers.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-gemini-cli.d.ts +74 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-gemini-cli.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-gemini-cli.js +757 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-gemini-cli.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-shared.d.ts +65 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-shared.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-shared.js +300 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-shared.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-vertex.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-vertex.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-vertex.js +392 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google-vertex.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google.d.ts +13 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google.js +355 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/google.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/mistral.d.ts +22 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/mistral.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/mistral.js +498 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/mistral.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-codex-responses.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-codex-responses.js +741 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-codex-responses.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-completions.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-completions.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-completions.js +710 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-completions.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses-shared.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses-shared.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses-shared.js +447 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses-shared.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses.d.ts +13 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses.js +201 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/openai-responses.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/register-builtins.d.ts +11 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/register-builtins.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/register-builtins.js +138 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/register-builtins.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/simple-options.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/simple-options.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/simple-options.js +35 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/simple-options.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/transform-messages.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/transform-messages.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/transform-messages.js +155 -0
- package/node_modules/@styrene-lab/pi-ai/dist/providers/transform-messages.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/stream.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-ai/dist/stream.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/stream.js +27 -0
- package/node_modules/@styrene-lab/pi-ai/dist/stream.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/types.d.ts +293 -0
- package/node_modules/@styrene-lab/pi-ai/dist/types.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/types.js +2 -0
- package/node_modules/@styrene-lab/pi-ai/dist/types.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/event-stream.d.ts +21 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/event-stream.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/event-stream.js +81 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/event-stream.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/hash.d.ts +3 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/hash.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/hash.js +14 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/hash.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/json-parse.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/json-parse.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/json-parse.js +29 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/json-parse.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/anthropic.d.ts +25 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/anthropic.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/anthropic.js +343 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/anthropic.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/fetch-utils.d.ts +22 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/fetch-utils.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/fetch-utils.js +42 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/fetch-utils.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/github-copilot.d.ts +30 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/github-copilot.js +292 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/github-copilot.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-antigravity.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-antigravity.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-antigravity.js +374 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-antigravity.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-gemini-cli.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-gemini-cli.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-gemini-cli.js +479 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/google-gemini-cli.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/index.d.ts +61 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/index.js +131 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/openai-codex.d.ts +35 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/openai-codex.js +382 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/openai-codex.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/pkce.d.ts +13 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/pkce.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/pkce.js +31 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/pkce.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/types.d.ts +47 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/types.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/types.js +2 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/oauth/types.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/overflow.d.ts +52 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/overflow.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/overflow.js +117 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/overflow.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/sanitize-unicode.d.ts +22 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/sanitize-unicode.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/sanitize-unicode.js +26 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/sanitize-unicode.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/typebox-helpers.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/typebox-helpers.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/typebox-helpers.js +21 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/typebox-helpers.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/validation.d.ts +18 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/validation.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/validation.js +72 -0
- package/node_modules/@styrene-lab/pi-ai/dist/utils/validation.js.map +1 -0
- package/node_modules/@styrene-lab/pi-ai/package.json +80 -0
- package/node_modules/@styrene-lab/pi-coding-agent/CHANGELOG.md +3105 -0
- package/node_modules/@styrene-lab/pi-coding-agent/README.md +583 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/args.d.ts +48 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/args.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/args.js +300 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/args.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/config-selector.d.ts +14 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/config-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/config-selector.js +31 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/config-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/file-processor.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/file-processor.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/file-processor.js +79 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/file-processor.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/list-models.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/list-models.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/list-models.js +92 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/list-models.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/session-picker.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/session-picker.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/session-picker.js +34 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli/session-picker.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli.d.ts +3 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli.js +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/cli.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/config.d.ts +68 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/config.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/config.js +203 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/config.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/agent-session.d.ts +591 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/agent-session.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/agent-session.js +2542 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/agent-session.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/auth-storage.d.ts +130 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/auth-storage.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/auth-storage.js +419 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/auth-storage.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/bash-executor.d.ts +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/bash-executor.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/bash-executor.js +212 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/bash-executor.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts +86 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/branch-summarization.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/branch-summarization.js +242 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/branch-summarization.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/compaction.d.ts +121 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/compaction.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/compaction.js +610 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/compaction.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/index.d.ts +7 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/index.js +7 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/utils.d.ts +38 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/utils.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/utils.js +153 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/compaction/utils.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/defaults.d.ts +3 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/defaults.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/defaults.js +2 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/defaults.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/diagnostics.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/diagnostics.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/diagnostics.js +2 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/diagnostics.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/event-bus.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/event-bus.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/event-bus.js +25 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/event-bus.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/exec.d.ts +29 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/exec.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/exec.js +71 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/exec.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts +22 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/ansi-to-html.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/ansi-to-html.js +249 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/ansi-to-html.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/index.d.ts +37 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/index.js +223 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/template.css +971 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/template.html +54 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/template.js +1583 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts +38 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/tool-renderer.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/tool-renderer.js +70 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/tool-renderer.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/vendor/highlight.min.js +1213 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/export-html/vendor/marked.min.js +6 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/index.d.ts +11 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/index.js +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/loader.d.ts +25 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/loader.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/loader.js +430 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/loader.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/runner.d.ts +152 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/runner.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/runner.js +688 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/runner.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/types.d.ts +1048 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/types.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/types.js +35 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/types.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/wrapper.d.ts +20 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/wrapper.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/wrapper.js +28 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/extensions/wrapper.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/footer-data-provider.d.ts +32 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/footer-data-provider.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/footer-data-provider.js +134 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/footer-data-provider.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/index.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/index.js +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/keybindings.d.ts +55 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/keybindings.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/keybindings.js +153 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/keybindings.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/messages.d.ts +77 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/messages.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/messages.js +123 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/messages.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-registry.d.ts +113 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-registry.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-registry.js +554 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-registry.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-resolver.d.ts +104 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-resolver.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-resolver.js +462 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/model-resolver.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/package-manager.d.ts +155 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/package-manager.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/package-manager.js +1480 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/package-manager.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/prompt-templates.d.ts +50 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/prompt-templates.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/prompt-templates.js +251 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/prompt-templates.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resolve-config-value.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resolve-config-value.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resolve-config-value.js +94 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resolve-config-value.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resource-loader.d.ts +184 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resource-loader.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resource-loader.js +670 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/resource-loader.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/sdk.d.ts +90 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/sdk.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/sdk.js +242 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/sdk.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/session-manager.d.ts +324 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/session-manager.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/session-manager.js +1098 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/session-manager.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/settings-manager.d.ts +235 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/settings-manager.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/settings-manager.js +699 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/settings-manager.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/skills.d.ts +59 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/skills.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/skills.js +385 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/skills.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/slash-commands.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/slash-commands.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/slash-commands.js +22 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/slash-commands.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/system-prompt.d.ts +28 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/system-prompt.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/system-prompt.js +150 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/system-prompt.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/timings.d.ts +7 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/timings.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/timings.js +25 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/timings.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/bash.d.ts +59 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/bash.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/bash.js +249 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/bash.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit-diff.d.ts +63 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit-diff.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit-diff.js +243 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit-diff.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit.js +146 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/edit.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/find.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/find.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/find.js +209 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/find.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/grep.d.ts +45 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/grep.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/grep.js +239 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/grep.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/index.d.ts +73 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/index.js +61 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/ls.d.ts +40 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/ls.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/ls.js +118 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/ls.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/path-utils.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/path-utils.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/path-utils.js +81 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/path-utils.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/read.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/read.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/read.js +166 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/read.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/truncate.d.ts +70 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/truncate.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/truncate.js +205 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/truncate.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/write.d.ts +29 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/write.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/write.js +78 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/core/tools/write.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/index.d.ts +27 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/index.js +42 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/main.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/main.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/main.js +700 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/main.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/migrations.d.ts +33 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/migrations.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/migrations.js +261 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/migrations.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/index.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/index.js +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/armin.d.ts +34 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/armin.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/armin.js +333 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/armin.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/assistant-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/assistant-message.js +96 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/assistant-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts +35 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bash-execution.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bash-execution.js +162 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bash-execution.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bordered-loader.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js +51 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/bordered-loader.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js +44 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/branch-summary-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js +45 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/compaction-summary-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts +71 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/config-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/config-selector.js +479 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/config-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts +14 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/countdown-timer.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js +33 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/countdown-timer.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts +21 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-editor.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-editor.js +70 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-editor.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts +20 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-message.js +79 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/custom-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts +23 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/daxnuts.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/daxnuts.js +140 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/daxnuts.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/diff.d.ts +12 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/diff.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/diff.js +133 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/diff.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts +15 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/dynamic-border.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js +21 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/dynamic-border.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts +20 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-editor.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-editor.js +111 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-editor.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts +23 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-input.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-input.js +61 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-input.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts +24 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-selector.js +78 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/extension-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/footer.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/footer.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/footer.js +198 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/footer.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/index.d.ts +32 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/index.js +33 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts +41 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js +61 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/keybinding-hints.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts +42 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/login-dialog.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/login-dialog.js +145 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/login-dialog.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/model-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/model-selector.js +271 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/model-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts +19 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js +97 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/oauth-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts +49 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js +275 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/scoped-models-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts +23 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js +155 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector-search.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts +95 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector.js +851 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/session-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts +58 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/settings-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/settings-selector.js +301 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/settings-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts +10 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/show-images-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js +39 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/show-images-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/skill-invocation-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts +11 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/theme-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/theme-selector.js +50 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/theme-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts +11 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/thinking-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js +51 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/thinking-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts +89 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tool-execution.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tool-execution.js +976 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tool-execution.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts +87 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tree-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tree-selector.js +1040 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/tree-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts +30 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js +113 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message-selector.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message.js +27 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/user-message.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts +24 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/visual-truncate.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js +33 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/components/visual-truncate.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts +317 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/interactive-mode.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/interactive-mode.js +3832 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/interactive-mode.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/dark.json +85 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/light.json +84 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/theme-schema.json +335 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts +78 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/theme.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/theme.js +957 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/interactive/theme/theme.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/print-mode.d.ts +28 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/print-mode.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/print-mode.js +101 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/print-mode.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/jsonl.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/jsonl.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/jsonl.js +49 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/jsonl.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts +217 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-client.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-client.js +401 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-client.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts +20 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-mode.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-mode.js +509 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-mode.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts +409 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-types.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-types.js +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/modes/rpc/rpc-types.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/changelog.d.ts +21 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/changelog.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/changelog.js +87 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/changelog.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-image.d.ts +11 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-image.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-image.js +286 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-image.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-native.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-native.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-native.js +20 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard-native.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard.d.ts +2 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard.js +68 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/clipboard.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/exif-orientation.d.ts +5 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/exif-orientation.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/exif-orientation.js +158 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/exif-orientation.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/frontmatter.d.ts +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/frontmatter.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/frontmatter.js +26 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/frontmatter.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/git.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/git.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/git.js +163 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/git.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-convert.d.ts +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-convert.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-convert.js +39 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-convert.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-resize.d.ts +36 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-resize.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-resize.js +186 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/image-resize.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/mime.d.ts +2 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/mime.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/mime.js +26 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/mime.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/photon.d.ts +21 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/photon.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/photon.js +121 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/photon.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/shell.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/shell.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/shell.js +186 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/shell.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/sleep.d.ts +5 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/sleep.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/sleep.js +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/sleep.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/tools-manager.d.ts +3 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/tools-manager.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/tools-manager.js +252 -0
- package/node_modules/@styrene-lab/pi-coding-agent/dist/utils/tools-manager.js.map +1 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/compaction.md +392 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/custom-provider.md +596 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/development.md +69 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/extensions.md +2034 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/images/doom-extension.png +0 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/images/exy.png +0 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/images/interactive-mode.png +0 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/images/tree-view.png +0 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/json.md +79 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/keybindings.md +182 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/models.md +309 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/packages.md +218 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/prompt-templates.md +67 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/providers.md +188 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/rpc.md +1354 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/sdk.md +968 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/session.md +412 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/settings.md +234 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/shell-aliases.md +13 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/skills.md +231 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/terminal-setup.md +95 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/termux.md +127 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/themes.md +295 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/tmux.md +61 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/tree.md +228 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/tui.md +887 -0
- package/node_modules/@styrene-lab/pi-coding-agent/docs/windows.md +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/README.md +25 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/README.md +205 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/antigravity-image-gen.ts +416 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/auto-commit-on-exit.ts +49 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/bash-spawn-hook.ts +30 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/bookmark.ts +50 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/built-in-tool-renderer.ts +246 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/claude-rules.ts +86 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/commands.ts +72 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/confirm-destructive.ts +59 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-compaction.ts +114 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-footer.ts +64 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-header.ts +73 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-anthropic/index.ts +604 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-anthropic/package-lock.json +24 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-anthropic/package.json +19 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/index.ts +349 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/package.json +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-gitlab-duo/test.ts +82 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-qwen-cli/index.ts +345 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/custom-provider-qwen-cli/package.json +16 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dirty-repo-guard.ts +56 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/README.md +46 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.js +21 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom/build/doom.wasm +0 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom/build.sh +152 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom/doomgeneric_pi.c +72 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom-component.ts +132 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom-engine.ts +173 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/doom-keys.ts +104 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/index.ts +74 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/doom-overlay/wad-finder.ts +51 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dynamic-resources/SKILL.md +8 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.json +79 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dynamic-resources/dynamic.md +5 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dynamic-resources/index.ts +15 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/dynamic-tools.ts +74 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/event-bus.ts +43 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/file-trigger.ts +41 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/git-checkpoint.ts +53 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/handoff.ts +150 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/hello.ts +25 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/inline-bash.ts +94 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/input-transform.ts +43 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/interactive-shell.ts +196 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/mac-system-theme.ts +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/message-renderer.ts +59 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/minimal-mode.ts +426 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/modal-editor.ts +85 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/model-status.ts +31 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/notify.ts +55 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/overlay-qa-tests.ts +1348 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/overlay-test.ts +150 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/permission-gate.ts +34 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/pirate.ts +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/plan-mode/README.md +65 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/plan-mode/index.ts +340 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/plan-mode/utils.ts +168 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/preset.ts +397 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/protected-paths.ts +30 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/provider-payload.ts +14 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/qna.ts +119 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/question.ts +264 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/questionnaire.ts +427 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/rainbow-editor.ts +88 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/reload-runtime.ts +37 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/rpc-demo.ts +124 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/sandbox/index.ts +317 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/sandbox/package-lock.json +92 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/sandbox/package.json +19 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/send-user-message.ts +97 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/session-name.ts +27 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/shutdown-command.ts +63 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/snake.ts +343 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/space-invaders.ts +560 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/ssh.ts +220 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/status-line.ts +40 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/README.md +172 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/agents/planner.md +37 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/agents/reviewer.md +35 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/agents/scout.md +50 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/agents/worker.md +24 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/agents.ts +126 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/index.ts +964 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/prompts/implement-and-review.md +10 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/prompts/implement.md +10 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/subagent/prompts/scout-and-plan.md +9 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/summarize.ts +195 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/system-prompt-header.ts +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/timed-confirm.ts +70 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/titlebar-spinner.ts +58 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/todo.ts +299 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/tool-override.ts +142 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/tools.ts +146 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/trigger-compact.ts +40 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/truncated-tool.ts +192 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/widget-placement.ts +17 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/with-deps/index.ts +32 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/with-deps/package-lock.json +31 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/extensions/with-deps/package.json +22 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/rpc-extension-ui.ts +632 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/01-minimal.ts +22 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/02-custom-model.ts +49 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/03-custom-prompt.ts +55 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/04-skills.ts +46 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/05-tools.ts +56 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/06-extensions.ts +88 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/07-context-files.ts +40 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/08-prompt-templates.ts +47 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/09-api-keys-and-oauth.ts +48 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/10-settings.ts +51 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/11-sessions.ts +48 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/12-full-control.ts +82 -0
- package/node_modules/@styrene-lab/pi-coding-agent/examples/sdk/README.md +144 -0
- package/node_modules/@styrene-lab/pi-coding-agent/package.json +99 -0
- package/node_modules/@styrene-lab/pi-tui/README.md +767 -0
- package/node_modules/@styrene-lab/pi-tui/dist/autocomplete.d.ts +50 -0
- package/node_modules/@styrene-lab/pi-tui/dist/autocomplete.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/autocomplete.js +635 -0
- package/node_modules/@styrene-lab/pi-tui/dist/autocomplete.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/box.d.ts +30 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/box.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/box.js +122 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/box.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/cancellable-loader.d.ts +22 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/cancellable-loader.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/cancellable-loader.js +35 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/cancellable-loader.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/editor.d.ts +233 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/editor.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/editor.js +1844 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/editor.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/image.d.ts +28 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/image.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/image.js +69 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/image.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/input.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/input.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/input.js +464 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/input.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/loader.d.ts +21 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/loader.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/loader.js +49 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/loader.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/markdown.d.ts +95 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/markdown.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/markdown.js +655 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/markdown.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/select-list.d.ts +50 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/select-list.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/select-list.js +159 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/select-list.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/settings-list.d.ts +50 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/settings-list.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/settings-list.js +185 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/settings-list.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/spacer.d.ts +12 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/spacer.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/spacer.js +23 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/spacer.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/text.d.ts +26 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/text.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/text.js +107 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/text.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/truncated-text.d.ts +13 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/truncated-text.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/truncated-text.js +51 -0
- package/node_modules/@styrene-lab/pi-tui/dist/components/truncated-text.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/editor-component.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-tui/dist/editor-component.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/editor-component.js +2 -0
- package/node_modules/@styrene-lab/pi-tui/dist/editor-component.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/fuzzy.d.ts +16 -0
- package/node_modules/@styrene-lab/pi-tui/dist/fuzzy.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/fuzzy.js +107 -0
- package/node_modules/@styrene-lab/pi-tui/dist/fuzzy.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/index.d.ts +23 -0
- package/node_modules/@styrene-lab/pi-tui/dist/index.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/index.js +32 -0
- package/node_modules/@styrene-lab/pi-tui/dist/index.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keybindings.d.ts +39 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keybindings.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keybindings.js +117 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keybindings.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keys.d.ts +172 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keys.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keys.js +1097 -0
- package/node_modules/@styrene-lab/pi-tui/dist/keys.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/kill-ring.d.ts +28 -0
- package/node_modules/@styrene-lab/pi-tui/dist/kill-ring.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/kill-ring.js +44 -0
- package/node_modules/@styrene-lab/pi-tui/dist/kill-ring.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/stdin-buffer.d.ts +62 -0
- package/node_modules/@styrene-lab/pi-tui/dist/stdin-buffer.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/stdin-buffer.js +337 -0
- package/node_modules/@styrene-lab/pi-tui/dist/stdin-buffer.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal-image.d.ts +68 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal-image.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal-image.js +288 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal-image.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal.d.ts +85 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal.js +309 -0
- package/node_modules/@styrene-lab/pi-tui/dist/terminal.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/tui.d.ts +220 -0
- package/node_modules/@styrene-lab/pi-tui/dist/tui.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/tui.js +977 -0
- package/node_modules/@styrene-lab/pi-tui/dist/tui.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/undo-stack.d.ts +17 -0
- package/node_modules/@styrene-lab/pi-tui/dist/undo-stack.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/undo-stack.js +25 -0
- package/node_modules/@styrene-lab/pi-tui/dist/undo-stack.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/utils.d.ts +78 -0
- package/node_modules/@styrene-lab/pi-tui/dist/utils.d.ts.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/dist/utils.js +815 -0
- package/node_modules/@styrene-lab/pi-tui/dist/utils.js.map +1 -0
- package/node_modules/@styrene-lab/pi-tui/package.json +52 -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 +127 -0
- package/node_modules/ajv-formats/LICENSE +21 -0
- package/node_modules/ajv-formats/README.md +125 -0
- package/node_modules/ajv-formats/dist/formats.d.ts +9 -0
- package/node_modules/ajv-formats/dist/formats.js +208 -0
- package/node_modules/ajv-formats/dist/formats.js.map +1 -0
- package/node_modules/ajv-formats/dist/index.d.ts +15 -0
- package/node_modules/ajv-formats/dist/index.js +37 -0
- package/node_modules/ajv-formats/dist/index.js.map +1 -0
- package/node_modules/ajv-formats/dist/limit.d.ts +10 -0
- package/node_modules/ajv-formats/dist/limit.js +69 -0
- package/node_modules/ajv-formats/dist/limit.js.map +1 -0
- package/node_modules/ajv-formats/package.json +74 -0
- package/node_modules/ajv-formats/src/formats.ts +269 -0
- package/node_modules/ajv-formats/src/index.ts +62 -0
- package/node_modules/ajv-formats/src/limit.ts +99 -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/.stale.yml +21 -0
- package/node_modules/fast-uri/.github/dependabot.yml +13 -0
- package/node_modules/fast-uri/.github/tests_checker.yml +8 -0
- package/node_modules/fast-uri/.github/workflows/ci.yml +101 -0
- package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
- package/node_modules/fast-uri/LICENSE +32 -0
- package/node_modules/fast-uri/README.md +143 -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 +340 -0
- package/node_modules/fast-uri/lib/schemes.js +267 -0
- package/node_modules/fast-uri/lib/utils.js +336 -0
- package/node_modules/fast-uri/package.json +69 -0
- package/node_modules/fast-uri/test/ajv.test.js +43 -0
- package/node_modules/fast-uri/test/equal.test.js +108 -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 +318 -0
- package/node_modules/fast-uri/test/resolve.test.js +78 -0
- package/node_modules/fast-uri/test/rfc-3986.test.js +90 -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/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -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/zod-to-json-schema/.github/CR_logotype-full-color.png +0 -0
- package/node_modules/zod-to-json-schema/.github/FUNDING.yml +1 -0
- package/node_modules/zod-to-json-schema/.prettierrc.json +1 -0
- package/node_modules/zod-to-json-schema/LICENSE +15 -0
- package/node_modules/zod-to-json-schema/README.md +390 -0
- package/node_modules/zod-to-json-schema/changelog.md +82 -0
- package/node_modules/zod-to-json-schema/contributing.md +9 -0
- package/node_modules/zod-to-json-schema/createIndex.ts +32 -0
- package/node_modules/zod-to-json-schema/dist/cjs/Options.js +51 -0
- package/node_modules/zod-to-json-schema/dist/cjs/Refs.js +26 -0
- package/node_modules/zod-to-json-schema/dist/cjs/errorMessages.js +19 -0
- package/node_modules/zod-to-json-schema/dist/cjs/getRelativePath.js +12 -0
- package/node_modules/zod-to-json-schema/dist/cjs/index.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/package.json +1 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parseDef.js +66 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parseTypes.js +2 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/any.js +21 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/array.js +30 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/bigint.js +53 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/boolean.js +9 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/branded.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/catch.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/date.js +50 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/default.js +11 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/effects.js +11 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/enum.js +10 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/intersection.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/literal.js +25 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/map.js +30 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nativeEnum.js +20 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/never.js +15 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/null.js +14 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/nullable.js +37 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/number.js +56 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/object.js +76 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/optional.js +25 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/pipeline.js +24 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/promise.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/readonly.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/record.js +65 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/set.js +24 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/string.js +356 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/tuple.js +36 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/undefined.js +10 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/union.js +84 -0
- package/node_modules/zod-to-json-schema/dist/cjs/parsers/unknown.js +8 -0
- package/node_modules/zod-to-json-schema/dist/cjs/selectParser.js +109 -0
- package/node_modules/zod-to-json-schema/dist/cjs/zodToJsonSchema.js +90 -0
- package/node_modules/zod-to-json-schema/dist/esm/Options.js +46 -0
- package/node_modules/zod-to-json-schema/dist/esm/Refs.js +22 -0
- package/node_modules/zod-to-json-schema/dist/esm/errorMessages.js +14 -0
- package/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js +8 -0
- package/node_modules/zod-to-json-schema/dist/esm/index.js +40 -0
- package/node_modules/zod-to-json-schema/dist/esm/package.json +1 -0
- package/node_modules/zod-to-json-schema/dist/esm/parseDef.js +62 -0
- package/node_modules/zod-to-json-schema/dist/esm/parseTypes.js +1 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/any.js +17 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/array.js +26 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js +49 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js +5 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/date.js +46 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/default.js +7 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js +7 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js +6 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js +52 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js +21 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/map.js +26 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js +16 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/never.js +11 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/null.js +10 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js +33 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/number.js +52 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/object.js +72 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js +21 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js +20 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/record.js +61 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/set.js +20 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/string.js +352 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js +32 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js +6 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/union.js +80 -0
- package/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js +4 -0
- package/node_modules/zod-to-json-schema/dist/esm/selectParser.js +105 -0
- package/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js +87 -0
- package/node_modules/zod-to-json-schema/dist/types/Options.d.ts +37 -0
- package/node_modules/zod-to-json-schema/dist/types/Refs.d.ts +17 -0
- package/node_modules/zod-to-json-schema/dist/types/errorMessages.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/getRelativePath.d.ts +1 -0
- package/node_modules/zod-to-json-schema/dist/types/index.d.ts +40 -0
- package/node_modules/zod-to-json-schema/dist/types/parseDef.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parseTypes.d.ts +34 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/any.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/array.d.ts +12 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/bigint.d.ts +14 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/boolean.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/branded.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/catch.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/date.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/default.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/effects.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/enum.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/intersection.d.ts +8 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/literal.d.ts +9 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/map.d.ts +15 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/nativeEnum.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/never.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/null.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/nullable.d.ts +10 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/number.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/object.d.ts +10 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/optional.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/pipeline.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/promise.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/readonly.d.ts +3 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/record.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/set.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/string.d.ts +73 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/tuple.d.ts +13 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/undefined.d.ts +6 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/union.d.ts +23 -0
- package/node_modules/zod-to-json-schema/dist/types/parsers/unknown.d.ts +4 -0
- package/node_modules/zod-to-json-schema/dist/types/selectParser.d.ts +5 -0
- package/node_modules/zod-to-json-schema/dist/types/zodToJsonSchema.d.ts +10 -0
- package/node_modules/zod-to-json-schema/package.json +78 -0
- package/node_modules/zod-to-json-schema/postcjs.ts +3 -0
- package/node_modules/zod-to-json-schema/postesm.ts +3 -0
- package/npm/platform-packages/darwin-arm64/README.md +8 -0
- package/npm/platform-packages/darwin-arm64/package.json +26 -0
- package/npm/platform-packages/darwin-x64/README.md +8 -0
- package/npm/platform-packages/darwin-x64/package.json +20 -0
- package/npm/platform-packages/linux-arm64/README.md +8 -0
- package/npm/platform-packages/linux-arm64/package.json +20 -0
- package/npm/platform-packages/linux-x64/README.md +8 -0
- package/npm/platform-packages/linux-x64/package.json +20 -0
- package/package.json +105 -0
- package/prompts/init.md +75 -0
- package/prompts/new-repo.md +54 -0
- package/prompts/oci-login.md +56 -0
- package/prompts/status.md +50 -0
- package/scripts/build-platform-packages.sh +80 -0
- package/scripts/check-provider-drift.sh +82 -0
- package/scripts/check-vendor-dist.mjs +54 -0
- package/scripts/check-vendor-dist.test.mjs +129 -0
- package/scripts/extract-provider-contracts.sh +133 -0
- package/scripts/preinstall.sh +60 -0
- package/scripts/publish-pi-mono.sh +76 -0
- package/skills/cleave/SKILL.md +284 -0
- package/skills/git/SKILL.md +217 -0
- package/skills/git/_reference/ci-validation.md +204 -0
- package/skills/oci/SKILL.md +338 -0
- package/skills/openspec/SKILL.md +346 -0
- package/skills/pi-extensions/SKILL.md +191 -0
- package/skills/pi-tui/SKILL.md +517 -0
- package/skills/python/SKILL.md +189 -0
- package/skills/rust/SKILL.md +268 -0
- package/skills/security/SKILL.md +206 -0
- package/skills/style/SKILL.md +264 -0
- package/skills/typescript/SKILL.md +225 -0
- package/skills/vault/SKILL.md +102 -0
- package/themes/alpharius-legacy.json +85 -0
- package/themes/alpharius.conf +59 -0
- package/themes/alpharius.json +89 -0
|
@@ -0,0 +1,1844 @@
|
|
|
1
|
+
import { getEditorKeybindings } from "../keybindings.js";
|
|
2
|
+
import { decodeKittyPrintable, looksLikeCsiFragment, looksLikePartialEscapeSequence, matchesKey } from "../keys.js";
|
|
3
|
+
import { KillRing } from "../kill-ring.js";
|
|
4
|
+
import { CURSOR_MARKER } from "../tui.js";
|
|
5
|
+
import { UndoStack } from "../undo-stack.js";
|
|
6
|
+
import { getSegmenter, isPunctuationChar, isWhitespaceChar, truncateToWidth, visibleWidth } from "../utils.js";
|
|
7
|
+
import { SelectList } from "./select-list.js";
|
|
8
|
+
const baseSegmenter = getSegmenter();
|
|
9
|
+
/** Regex matching paste markers like `[paste #1 +123 lines]` or `[paste #2 1234 chars]`. */
|
|
10
|
+
const PASTE_MARKER_REGEX = /\[paste #(\d+)( (\+\d+ lines|\d+ chars))?\]/g;
|
|
11
|
+
/** Non-global version for single-segment testing. */
|
|
12
|
+
const PASTE_MARKER_SINGLE = /^\[paste #(\d+)( (\+\d+ lines|\d+ chars))?\]$/;
|
|
13
|
+
/** Check if a segment is a paste marker (i.e. was merged by segmentWithMarkers). */
|
|
14
|
+
function isPasteMarker(segment) {
|
|
15
|
+
return segment.length >= 10 && PASTE_MARKER_SINGLE.test(segment);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A segmenter that wraps Intl.Segmenter and merges graphemes that fall
|
|
19
|
+
* within paste markers into single atomic segments. This makes cursor
|
|
20
|
+
* movement, deletion, word-wrap, etc. treat paste markers as single units.
|
|
21
|
+
*
|
|
22
|
+
* Only markers whose numeric ID exists in `validIds` are merged.
|
|
23
|
+
*/
|
|
24
|
+
function segmentWithMarkers(text, validIds) {
|
|
25
|
+
// Fast path: no paste markers in the text or no valid IDs.
|
|
26
|
+
if (validIds.size === 0 || !text.includes("[paste #")) {
|
|
27
|
+
return baseSegmenter.segment(text);
|
|
28
|
+
}
|
|
29
|
+
// Find all marker spans with valid IDs.
|
|
30
|
+
const markers = [];
|
|
31
|
+
for (const m of text.matchAll(PASTE_MARKER_REGEX)) {
|
|
32
|
+
const id = Number.parseInt(m[1], 10);
|
|
33
|
+
if (!validIds.has(id))
|
|
34
|
+
continue;
|
|
35
|
+
markers.push({ start: m.index, end: m.index + m[0].length });
|
|
36
|
+
}
|
|
37
|
+
if (markers.length === 0) {
|
|
38
|
+
return baseSegmenter.segment(text);
|
|
39
|
+
}
|
|
40
|
+
// Build merged segment list.
|
|
41
|
+
const baseSegments = baseSegmenter.segment(text);
|
|
42
|
+
const result = [];
|
|
43
|
+
let markerIdx = 0;
|
|
44
|
+
for (const seg of baseSegments) {
|
|
45
|
+
// Skip past markers that are entirely before this segment.
|
|
46
|
+
while (markerIdx < markers.length && markers[markerIdx].end <= seg.index) {
|
|
47
|
+
markerIdx++;
|
|
48
|
+
}
|
|
49
|
+
const marker = markerIdx < markers.length ? markers[markerIdx] : null;
|
|
50
|
+
if (marker && seg.index >= marker.start && seg.index < marker.end) {
|
|
51
|
+
// This segment falls inside a marker.
|
|
52
|
+
// If this is the first segment of the marker, emit a merged segment.
|
|
53
|
+
if (seg.index === marker.start) {
|
|
54
|
+
const markerText = text.slice(marker.start, marker.end);
|
|
55
|
+
result.push({
|
|
56
|
+
segment: markerText,
|
|
57
|
+
index: marker.start,
|
|
58
|
+
input: text,
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
// Otherwise skip (already merged into the first segment).
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
result.push(seg);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
return result;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Split a line into word-wrapped chunks.
|
|
71
|
+
* Wraps at word boundaries when possible, falling back to character-level
|
|
72
|
+
* wrapping for words longer than the available width.
|
|
73
|
+
*
|
|
74
|
+
* @param line - The text line to wrap
|
|
75
|
+
* @param maxWidth - Maximum visible width per chunk
|
|
76
|
+
* @param preSegmented - Optional pre-segmented graphemes (e.g. with paste-marker awareness).
|
|
77
|
+
* When omitted the default Intl.Segmenter is used.
|
|
78
|
+
* @returns Array of chunks with text and position information
|
|
79
|
+
*/
|
|
80
|
+
export function wordWrapLine(line, maxWidth, preSegmented) {
|
|
81
|
+
if (!line || maxWidth <= 0) {
|
|
82
|
+
return [{ text: "", startIndex: 0, endIndex: 0 }];
|
|
83
|
+
}
|
|
84
|
+
const lineWidth = visibleWidth(line);
|
|
85
|
+
if (lineWidth <= maxWidth) {
|
|
86
|
+
return [{ text: line, startIndex: 0, endIndex: line.length }];
|
|
87
|
+
}
|
|
88
|
+
const chunks = [];
|
|
89
|
+
const segments = preSegmented ?? [...baseSegmenter.segment(line)];
|
|
90
|
+
let currentWidth = 0;
|
|
91
|
+
let chunkStart = 0;
|
|
92
|
+
// Wrap opportunity: the position after the last whitespace before a non-whitespace
|
|
93
|
+
// grapheme, i.e. where a line break is allowed.
|
|
94
|
+
let wrapOppIndex = -1;
|
|
95
|
+
let wrapOppWidth = 0;
|
|
96
|
+
for (let i = 0; i < segments.length; i++) {
|
|
97
|
+
const seg = segments[i];
|
|
98
|
+
const grapheme = seg.segment;
|
|
99
|
+
const gWidth = visibleWidth(grapheme);
|
|
100
|
+
const charIndex = seg.index;
|
|
101
|
+
const isWs = !isPasteMarker(grapheme) && isWhitespaceChar(grapheme);
|
|
102
|
+
// Overflow check before advancing.
|
|
103
|
+
if (currentWidth + gWidth > maxWidth) {
|
|
104
|
+
if (wrapOppIndex >= 0 && currentWidth - wrapOppWidth + gWidth <= maxWidth) {
|
|
105
|
+
// Backtrack to last wrap opportunity (the remaining content
|
|
106
|
+
// plus the current grapheme still fits within maxWidth).
|
|
107
|
+
chunks.push({ text: line.slice(chunkStart, wrapOppIndex), startIndex: chunkStart, endIndex: wrapOppIndex });
|
|
108
|
+
chunkStart = wrapOppIndex;
|
|
109
|
+
currentWidth -= wrapOppWidth;
|
|
110
|
+
}
|
|
111
|
+
else if (chunkStart < charIndex) {
|
|
112
|
+
// No viable wrap opportunity: force-break at current position.
|
|
113
|
+
// This also handles the case where backtracking to a word
|
|
114
|
+
// boundary wouldn't help because the remaining content plus
|
|
115
|
+
// the current grapheme (e.g. a wide character) still exceeds
|
|
116
|
+
// maxWidth.
|
|
117
|
+
chunks.push({ text: line.slice(chunkStart, charIndex), startIndex: chunkStart, endIndex: charIndex });
|
|
118
|
+
chunkStart = charIndex;
|
|
119
|
+
currentWidth = 0;
|
|
120
|
+
}
|
|
121
|
+
wrapOppIndex = -1;
|
|
122
|
+
}
|
|
123
|
+
if (gWidth > maxWidth) {
|
|
124
|
+
// Single atomic segment wider than maxWidth (e.g. paste marker
|
|
125
|
+
// in a narrow terminal). Re-wrap it at grapheme granularity.
|
|
126
|
+
// The segment remains logically atomic for cursor
|
|
127
|
+
// movement / editing — the split is purely visual for word-wrap layout.
|
|
128
|
+
const subChunks = wordWrapLine(grapheme, maxWidth);
|
|
129
|
+
for (let j = 0; j < subChunks.length - 1; j++) {
|
|
130
|
+
const sc = subChunks[j];
|
|
131
|
+
chunks.push({ text: sc.text, startIndex: charIndex + sc.startIndex, endIndex: charIndex + sc.endIndex });
|
|
132
|
+
}
|
|
133
|
+
const last = subChunks[subChunks.length - 1];
|
|
134
|
+
chunkStart = charIndex + last.startIndex;
|
|
135
|
+
currentWidth = visibleWidth(last.text);
|
|
136
|
+
wrapOppIndex = -1;
|
|
137
|
+
continue;
|
|
138
|
+
}
|
|
139
|
+
// Advance.
|
|
140
|
+
currentWidth += gWidth;
|
|
141
|
+
// Record wrap opportunity: whitespace followed by non-whitespace.
|
|
142
|
+
// Multiple spaces join (no break between them); the break point is
|
|
143
|
+
// after the last space before the next word.
|
|
144
|
+
const next = segments[i + 1];
|
|
145
|
+
if (isWs && next && (isPasteMarker(next.segment) || !isWhitespaceChar(next.segment))) {
|
|
146
|
+
wrapOppIndex = next.index;
|
|
147
|
+
wrapOppWidth = currentWidth;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
// Push final chunk.
|
|
151
|
+
chunks.push({ text: line.slice(chunkStart), startIndex: chunkStart, endIndex: line.length });
|
|
152
|
+
return chunks;
|
|
153
|
+
}
|
|
154
|
+
const SLASH_COMMAND_SELECT_LIST_LAYOUT = {
|
|
155
|
+
minPrimaryColumnWidth: 12,
|
|
156
|
+
maxPrimaryColumnWidth: 32,
|
|
157
|
+
};
|
|
158
|
+
export class Editor {
|
|
159
|
+
state = {
|
|
160
|
+
lines: [""],
|
|
161
|
+
cursorLine: 0,
|
|
162
|
+
cursorCol: 0,
|
|
163
|
+
};
|
|
164
|
+
/** Focusable interface - set by TUI when focus changes */
|
|
165
|
+
focused = false;
|
|
166
|
+
tui;
|
|
167
|
+
theme;
|
|
168
|
+
paddingX = 0;
|
|
169
|
+
// Store last render width for cursor navigation
|
|
170
|
+
lastWidth = 80;
|
|
171
|
+
// Vertical scrolling support
|
|
172
|
+
scrollOffset = 0;
|
|
173
|
+
// Border color (can be changed dynamically)
|
|
174
|
+
borderColor;
|
|
175
|
+
// Autocomplete support
|
|
176
|
+
autocompleteProvider;
|
|
177
|
+
autocompleteList;
|
|
178
|
+
autocompleteState = null;
|
|
179
|
+
autocompletePrefix = "";
|
|
180
|
+
autocompleteMaxVisible = 5;
|
|
181
|
+
// Paste tracking for large pastes
|
|
182
|
+
pastes = new Map();
|
|
183
|
+
pasteCounter = 0;
|
|
184
|
+
// Bracketed paste mode buffering
|
|
185
|
+
pasteBuffer = "";
|
|
186
|
+
isInPaste = false;
|
|
187
|
+
// Prompt history for up/down navigation
|
|
188
|
+
history = [];
|
|
189
|
+
historyIndex = -1; // -1 = not browsing, 0 = most recent, 1 = older, etc.
|
|
190
|
+
// Kill ring for Emacs-style kill/yank operations
|
|
191
|
+
killRing = new KillRing();
|
|
192
|
+
lastAction = null;
|
|
193
|
+
// Character jump mode
|
|
194
|
+
jumpMode = null;
|
|
195
|
+
// Preferred visual column for vertical cursor movement (sticky column)
|
|
196
|
+
preferredVisualCol = null;
|
|
197
|
+
// Undo support
|
|
198
|
+
undoStack = new UndoStack();
|
|
199
|
+
onSubmit;
|
|
200
|
+
onChange;
|
|
201
|
+
disableSubmit = false;
|
|
202
|
+
constructor(tui, theme, options = {}) {
|
|
203
|
+
this.tui = tui;
|
|
204
|
+
this.theme = theme;
|
|
205
|
+
this.borderColor = theme.borderColor;
|
|
206
|
+
const paddingX = options.paddingX ?? 0;
|
|
207
|
+
this.paddingX = Number.isFinite(paddingX) ? Math.max(0, Math.floor(paddingX)) : 0;
|
|
208
|
+
const maxVisible = options.autocompleteMaxVisible ?? 5;
|
|
209
|
+
this.autocompleteMaxVisible = Number.isFinite(maxVisible) ? Math.max(3, Math.min(20, Math.floor(maxVisible))) : 5;
|
|
210
|
+
}
|
|
211
|
+
/** Set of currently valid paste IDs, for marker-aware segmentation. */
|
|
212
|
+
validPasteIds() {
|
|
213
|
+
return new Set(this.pastes.keys());
|
|
214
|
+
}
|
|
215
|
+
/** Segment text with paste-marker awareness, only merging markers with valid IDs. */
|
|
216
|
+
segment(text) {
|
|
217
|
+
return segmentWithMarkers(text, this.validPasteIds());
|
|
218
|
+
}
|
|
219
|
+
getPaddingX() {
|
|
220
|
+
return this.paddingX;
|
|
221
|
+
}
|
|
222
|
+
setPaddingX(padding) {
|
|
223
|
+
const newPadding = Number.isFinite(padding) ? Math.max(0, Math.floor(padding)) : 0;
|
|
224
|
+
if (this.paddingX !== newPadding) {
|
|
225
|
+
this.paddingX = newPadding;
|
|
226
|
+
this.tui.requestRender();
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
getAutocompleteMaxVisible() {
|
|
230
|
+
return this.autocompleteMaxVisible;
|
|
231
|
+
}
|
|
232
|
+
setAutocompleteMaxVisible(maxVisible) {
|
|
233
|
+
const newMaxVisible = Number.isFinite(maxVisible) ? Math.max(3, Math.min(20, Math.floor(maxVisible))) : 5;
|
|
234
|
+
if (this.autocompleteMaxVisible !== newMaxVisible) {
|
|
235
|
+
this.autocompleteMaxVisible = newMaxVisible;
|
|
236
|
+
this.tui.requestRender();
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
setAutocompleteProvider(provider) {
|
|
240
|
+
this.autocompleteProvider = provider;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Add a prompt to history for up/down arrow navigation.
|
|
244
|
+
* Called after successful submission.
|
|
245
|
+
*/
|
|
246
|
+
addToHistory(text) {
|
|
247
|
+
const trimmed = text.trim();
|
|
248
|
+
if (!trimmed)
|
|
249
|
+
return;
|
|
250
|
+
// Don't add consecutive duplicates
|
|
251
|
+
if (this.history.length > 0 && this.history[0] === trimmed)
|
|
252
|
+
return;
|
|
253
|
+
this.history.unshift(trimmed);
|
|
254
|
+
// Limit history size
|
|
255
|
+
if (this.history.length > 100) {
|
|
256
|
+
this.history.pop();
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
isEditorEmpty() {
|
|
260
|
+
return this.state.lines.length === 1 && this.state.lines[0] === "";
|
|
261
|
+
}
|
|
262
|
+
isOnFirstVisualLine() {
|
|
263
|
+
const visualLines = this.buildVisualLineMap(this.lastWidth);
|
|
264
|
+
const currentVisualLine = this.findCurrentVisualLine(visualLines);
|
|
265
|
+
return currentVisualLine === 0;
|
|
266
|
+
}
|
|
267
|
+
isOnLastVisualLine() {
|
|
268
|
+
const visualLines = this.buildVisualLineMap(this.lastWidth);
|
|
269
|
+
const currentVisualLine = this.findCurrentVisualLine(visualLines);
|
|
270
|
+
return currentVisualLine === visualLines.length - 1;
|
|
271
|
+
}
|
|
272
|
+
navigateHistory(direction) {
|
|
273
|
+
this.lastAction = null;
|
|
274
|
+
if (this.history.length === 0)
|
|
275
|
+
return;
|
|
276
|
+
const newIndex = this.historyIndex - direction; // Up(-1) increases index, Down(1) decreases
|
|
277
|
+
if (newIndex < -1 || newIndex >= this.history.length)
|
|
278
|
+
return;
|
|
279
|
+
// Capture state when first entering history browsing mode
|
|
280
|
+
if (this.historyIndex === -1 && newIndex >= 0) {
|
|
281
|
+
this.pushUndoSnapshot();
|
|
282
|
+
}
|
|
283
|
+
this.historyIndex = newIndex;
|
|
284
|
+
if (this.historyIndex === -1) {
|
|
285
|
+
// Returned to "current" state - clear editor
|
|
286
|
+
this.setTextInternal("");
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
this.setTextInternal(this.history[this.historyIndex] || "");
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
/** Internal setText that doesn't reset history state - used by navigateHistory */
|
|
293
|
+
setTextInternal(text) {
|
|
294
|
+
const lines = text.split("\n");
|
|
295
|
+
this.state.lines = lines.length === 0 ? [""] : lines;
|
|
296
|
+
this.state.cursorLine = this.state.lines.length - 1;
|
|
297
|
+
this.setCursorCol(this.state.lines[this.state.cursorLine]?.length || 0);
|
|
298
|
+
// Reset scroll - render() will adjust to show cursor
|
|
299
|
+
this.scrollOffset = 0;
|
|
300
|
+
if (this.onChange) {
|
|
301
|
+
this.onChange(this.getText());
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
invalidate() {
|
|
305
|
+
// No cached state to invalidate currently
|
|
306
|
+
}
|
|
307
|
+
render(width) {
|
|
308
|
+
const maxPadding = Math.max(0, Math.floor((width - 1) / 2));
|
|
309
|
+
const paddingX = Math.min(this.paddingX, maxPadding);
|
|
310
|
+
const contentWidth = Math.max(1, width - paddingX * 2);
|
|
311
|
+
// Layout width: with padding the cursor can overflow into it,
|
|
312
|
+
// without padding we reserve 1 column for the cursor.
|
|
313
|
+
const layoutWidth = Math.max(1, contentWidth - (paddingX ? 0 : 1));
|
|
314
|
+
// Store for cursor navigation (must match wrapping width)
|
|
315
|
+
this.lastWidth = layoutWidth;
|
|
316
|
+
const horizontal = this.borderColor("─");
|
|
317
|
+
// Layout the text
|
|
318
|
+
const layoutLines = this.layoutText(layoutWidth);
|
|
319
|
+
// Calculate max visible lines: 30% of terminal height, minimum 5 lines
|
|
320
|
+
const terminalRows = this.tui.terminal.rows;
|
|
321
|
+
const maxVisibleLines = Math.max(5, Math.floor(terminalRows * 0.3));
|
|
322
|
+
// Find the cursor line index in layoutLines
|
|
323
|
+
let cursorLineIndex = layoutLines.findIndex((line) => line.hasCursor);
|
|
324
|
+
if (cursorLineIndex === -1)
|
|
325
|
+
cursorLineIndex = 0;
|
|
326
|
+
// Adjust scroll offset to keep cursor visible
|
|
327
|
+
if (cursorLineIndex < this.scrollOffset) {
|
|
328
|
+
this.scrollOffset = cursorLineIndex;
|
|
329
|
+
}
|
|
330
|
+
else if (cursorLineIndex >= this.scrollOffset + maxVisibleLines) {
|
|
331
|
+
this.scrollOffset = cursorLineIndex - maxVisibleLines + 1;
|
|
332
|
+
}
|
|
333
|
+
// Clamp scroll offset to valid range
|
|
334
|
+
const maxScrollOffset = Math.max(0, layoutLines.length - maxVisibleLines);
|
|
335
|
+
this.scrollOffset = Math.max(0, Math.min(this.scrollOffset, maxScrollOffset));
|
|
336
|
+
// Get visible lines slice
|
|
337
|
+
const visibleLines = layoutLines.slice(this.scrollOffset, this.scrollOffset + maxVisibleLines);
|
|
338
|
+
const result = [];
|
|
339
|
+
const leftPadding = " ".repeat(paddingX);
|
|
340
|
+
const rightPadding = leftPadding;
|
|
341
|
+
// Render top border (with scroll indicator if scrolled down)
|
|
342
|
+
if (this.scrollOffset > 0) {
|
|
343
|
+
const indicator = `─── ↑ ${this.scrollOffset} more `;
|
|
344
|
+
const remaining = width - visibleWidth(indicator);
|
|
345
|
+
if (remaining >= 0) {
|
|
346
|
+
result.push(this.borderColor(indicator + "─".repeat(remaining)));
|
|
347
|
+
}
|
|
348
|
+
else {
|
|
349
|
+
result.push(this.borderColor(truncateToWidth(indicator, width)));
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
else {
|
|
353
|
+
result.push(horizontal.repeat(width));
|
|
354
|
+
}
|
|
355
|
+
// Render each visible layout line
|
|
356
|
+
// Emit hardware cursor marker only when focused and not showing autocomplete
|
|
357
|
+
const emitCursorMarker = this.focused && !this.autocompleteState;
|
|
358
|
+
for (const layoutLine of visibleLines) {
|
|
359
|
+
let displayText = layoutLine.text;
|
|
360
|
+
let lineVisibleWidth = visibleWidth(layoutLine.text);
|
|
361
|
+
let cursorInPadding = false;
|
|
362
|
+
// Add cursor if this line has it
|
|
363
|
+
if (layoutLine.hasCursor && layoutLine.cursorPos !== undefined) {
|
|
364
|
+
const before = displayText.slice(0, layoutLine.cursorPos);
|
|
365
|
+
const after = displayText.slice(layoutLine.cursorPos);
|
|
366
|
+
// Hardware cursor marker (zero-width, emitted before fake cursor for IME positioning)
|
|
367
|
+
const marker = emitCursorMarker ? CURSOR_MARKER : "";
|
|
368
|
+
if (after.length > 0) {
|
|
369
|
+
// Cursor is on a character (grapheme) - replace it with highlighted version
|
|
370
|
+
// Get the first grapheme from 'after'
|
|
371
|
+
const afterGraphemes = [...this.segment(after)];
|
|
372
|
+
const firstGrapheme = afterGraphemes[0]?.segment || "";
|
|
373
|
+
const restAfter = after.slice(firstGrapheme.length);
|
|
374
|
+
const cursor = `\x1b[7m${firstGrapheme}\x1b[0m`;
|
|
375
|
+
displayText = before + marker + cursor + restAfter;
|
|
376
|
+
// lineVisibleWidth stays the same - we're replacing, not adding
|
|
377
|
+
}
|
|
378
|
+
else {
|
|
379
|
+
// Cursor is at the end - add highlighted space
|
|
380
|
+
const cursor = "\x1b[7m \x1b[0m";
|
|
381
|
+
displayText = before + marker + cursor;
|
|
382
|
+
lineVisibleWidth = lineVisibleWidth + 1;
|
|
383
|
+
// If cursor overflows content width into the padding, flag it
|
|
384
|
+
if (lineVisibleWidth > contentWidth && paddingX > 0) {
|
|
385
|
+
cursorInPadding = true;
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
// Calculate padding based on actual visible width
|
|
390
|
+
const padding = " ".repeat(Math.max(0, contentWidth - lineVisibleWidth));
|
|
391
|
+
const lineRightPadding = cursorInPadding ? rightPadding.slice(1) : rightPadding;
|
|
392
|
+
// Render the line (no side borders, just horizontal lines above and below)
|
|
393
|
+
result.push(`${leftPadding}${displayText}${padding}${lineRightPadding}`);
|
|
394
|
+
}
|
|
395
|
+
// Render bottom border (with scroll indicator if more content below)
|
|
396
|
+
const linesBelow = layoutLines.length - (this.scrollOffset + visibleLines.length);
|
|
397
|
+
if (linesBelow > 0) {
|
|
398
|
+
const indicator = `─── ↓ ${linesBelow} more `;
|
|
399
|
+
const remaining = width - visibleWidth(indicator);
|
|
400
|
+
result.push(this.borderColor(indicator + "─".repeat(Math.max(0, remaining))));
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
result.push(horizontal.repeat(width));
|
|
404
|
+
}
|
|
405
|
+
// Add autocomplete list if active
|
|
406
|
+
if (this.autocompleteState && this.autocompleteList) {
|
|
407
|
+
const autocompleteResult = this.autocompleteList.render(contentWidth);
|
|
408
|
+
for (const line of autocompleteResult) {
|
|
409
|
+
const lineWidth = visibleWidth(line);
|
|
410
|
+
const linePadding = " ".repeat(Math.max(0, contentWidth - lineWidth));
|
|
411
|
+
result.push(`${leftPadding}${line}${linePadding}${rightPadding}`);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
return result;
|
|
415
|
+
}
|
|
416
|
+
handleInput(data) {
|
|
417
|
+
const kb = getEditorKeybindings();
|
|
418
|
+
// Handle character jump mode (awaiting next character to jump to)
|
|
419
|
+
if (this.jumpMode !== null) {
|
|
420
|
+
// Cancel if the hotkey is pressed again
|
|
421
|
+
if (kb.matches(data, "jumpForward") || kb.matches(data, "jumpBackward")) {
|
|
422
|
+
this.jumpMode = null;
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
if (data.charCodeAt(0) >= 32) {
|
|
426
|
+
// Printable character - perform the jump
|
|
427
|
+
const direction = this.jumpMode;
|
|
428
|
+
this.jumpMode = null;
|
|
429
|
+
this.jumpToChar(data, direction);
|
|
430
|
+
return;
|
|
431
|
+
}
|
|
432
|
+
// Control character - cancel and fall through to normal handling
|
|
433
|
+
this.jumpMode = null;
|
|
434
|
+
}
|
|
435
|
+
// Handle bracketed paste mode
|
|
436
|
+
if (data.includes("\x1b[200~")) {
|
|
437
|
+
this.isInPaste = true;
|
|
438
|
+
this.pasteBuffer = "";
|
|
439
|
+
data = data.replace("\x1b[200~", "");
|
|
440
|
+
}
|
|
441
|
+
if (this.isInPaste) {
|
|
442
|
+
this.pasteBuffer += data;
|
|
443
|
+
const endIndex = this.pasteBuffer.indexOf("\x1b[201~");
|
|
444
|
+
if (endIndex !== -1) {
|
|
445
|
+
const pasteContent = this.pasteBuffer.substring(0, endIndex);
|
|
446
|
+
if (pasteContent.length > 0) {
|
|
447
|
+
this.handlePaste(pasteContent);
|
|
448
|
+
}
|
|
449
|
+
this.isInPaste = false;
|
|
450
|
+
const remaining = this.pasteBuffer.substring(endIndex + 6);
|
|
451
|
+
this.pasteBuffer = "";
|
|
452
|
+
if (remaining.length > 0) {
|
|
453
|
+
this.handleInput(remaining);
|
|
454
|
+
}
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
return;
|
|
458
|
+
}
|
|
459
|
+
// Ctrl+C - let parent handle (exit/clear)
|
|
460
|
+
if (kb.matches(data, "copy")) {
|
|
461
|
+
return;
|
|
462
|
+
}
|
|
463
|
+
// Undo
|
|
464
|
+
if (kb.matches(data, "undo")) {
|
|
465
|
+
this.undo();
|
|
466
|
+
return;
|
|
467
|
+
}
|
|
468
|
+
// Handle autocomplete mode
|
|
469
|
+
if (this.autocompleteState && this.autocompleteList) {
|
|
470
|
+
if (kb.matches(data, "selectCancel")) {
|
|
471
|
+
this.cancelAutocomplete();
|
|
472
|
+
return;
|
|
473
|
+
}
|
|
474
|
+
if (kb.matches(data, "selectUp") || kb.matches(data, "selectDown")) {
|
|
475
|
+
this.autocompleteList.handleInput(data);
|
|
476
|
+
return;
|
|
477
|
+
}
|
|
478
|
+
if (kb.matches(data, "tab")) {
|
|
479
|
+
const selected = this.autocompleteList.getSelectedItem();
|
|
480
|
+
if (selected && this.autocompleteProvider) {
|
|
481
|
+
const shouldChainSlashArgumentAutocomplete = this.shouldChainSlashArgumentAutocompleteOnTabSelection();
|
|
482
|
+
this.pushUndoSnapshot();
|
|
483
|
+
this.lastAction = null;
|
|
484
|
+
const result = this.autocompleteProvider.applyCompletion(this.state.lines, this.state.cursorLine, this.state.cursorCol, selected, this.autocompletePrefix);
|
|
485
|
+
this.state.lines = result.lines;
|
|
486
|
+
this.state.cursorLine = result.cursorLine;
|
|
487
|
+
this.setCursorCol(result.cursorCol);
|
|
488
|
+
this.cancelAutocomplete();
|
|
489
|
+
if (this.onChange)
|
|
490
|
+
this.onChange(this.getText());
|
|
491
|
+
if (shouldChainSlashArgumentAutocomplete && this.isBareCompletedSlashCommandAtCursor()) {
|
|
492
|
+
this.tryTriggerAutocomplete();
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
if (kb.matches(data, "selectConfirm")) {
|
|
498
|
+
const selected = this.autocompleteList.getSelectedItem();
|
|
499
|
+
if (selected && this.autocompleteProvider) {
|
|
500
|
+
this.pushUndoSnapshot();
|
|
501
|
+
this.lastAction = null;
|
|
502
|
+
const result = this.autocompleteProvider.applyCompletion(this.state.lines, this.state.cursorLine, this.state.cursorCol, selected, this.autocompletePrefix);
|
|
503
|
+
this.state.lines = result.lines;
|
|
504
|
+
this.state.cursorLine = result.cursorLine;
|
|
505
|
+
this.setCursorCol(result.cursorCol);
|
|
506
|
+
if (this.autocompletePrefix.startsWith("/")) {
|
|
507
|
+
this.cancelAutocomplete();
|
|
508
|
+
// Fall through to submit
|
|
509
|
+
}
|
|
510
|
+
else {
|
|
511
|
+
this.cancelAutocomplete();
|
|
512
|
+
if (this.onChange)
|
|
513
|
+
this.onChange(this.getText());
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
// Tab - trigger completion
|
|
520
|
+
if (kb.matches(data, "tab") && !this.autocompleteState) {
|
|
521
|
+
this.handleTabCompletion();
|
|
522
|
+
return;
|
|
523
|
+
}
|
|
524
|
+
// Deletion actions
|
|
525
|
+
if (kb.matches(data, "deleteToLineEnd")) {
|
|
526
|
+
this.deleteToEndOfLine();
|
|
527
|
+
return;
|
|
528
|
+
}
|
|
529
|
+
if (kb.matches(data, "deleteToLineStart")) {
|
|
530
|
+
this.deleteToStartOfLine();
|
|
531
|
+
return;
|
|
532
|
+
}
|
|
533
|
+
if (kb.matches(data, "deleteWordBackward")) {
|
|
534
|
+
this.deleteWordBackwards();
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
if (kb.matches(data, "deleteWordForward")) {
|
|
538
|
+
this.deleteWordForward();
|
|
539
|
+
return;
|
|
540
|
+
}
|
|
541
|
+
if (kb.matches(data, "deleteCharBackward") || matchesKey(data, "shift+backspace")) {
|
|
542
|
+
this.handleBackspace();
|
|
543
|
+
return;
|
|
544
|
+
}
|
|
545
|
+
if (kb.matches(data, "deleteCharForward") || matchesKey(data, "shift+delete")) {
|
|
546
|
+
this.handleForwardDelete();
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
// Kill ring actions
|
|
550
|
+
if (kb.matches(data, "yank")) {
|
|
551
|
+
this.yank();
|
|
552
|
+
return;
|
|
553
|
+
}
|
|
554
|
+
if (kb.matches(data, "yankPop")) {
|
|
555
|
+
this.yankPop();
|
|
556
|
+
return;
|
|
557
|
+
}
|
|
558
|
+
// Cursor movement actions
|
|
559
|
+
if (kb.matches(data, "cursorLineStart")) {
|
|
560
|
+
this.moveToLineStart();
|
|
561
|
+
return;
|
|
562
|
+
}
|
|
563
|
+
if (kb.matches(data, "cursorLineEnd")) {
|
|
564
|
+
this.moveToLineEnd();
|
|
565
|
+
return;
|
|
566
|
+
}
|
|
567
|
+
if (kb.matches(data, "cursorWordLeft")) {
|
|
568
|
+
this.moveWordBackwards();
|
|
569
|
+
return;
|
|
570
|
+
}
|
|
571
|
+
if (kb.matches(data, "cursorWordRight")) {
|
|
572
|
+
this.moveWordForwards();
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
// New line
|
|
576
|
+
if (kb.matches(data, "newLine") ||
|
|
577
|
+
(data.charCodeAt(0) === 10 && data.length > 1) ||
|
|
578
|
+
data === "\x1b\r" ||
|
|
579
|
+
data === "\x1b[13;2~" ||
|
|
580
|
+
(data.length > 1 && data.includes("\x1b") && data.includes("\r")) ||
|
|
581
|
+
(data === "\n" && data.length === 1)) {
|
|
582
|
+
if (this.shouldSubmitOnBackslashEnter(data, kb)) {
|
|
583
|
+
this.handleBackspace();
|
|
584
|
+
this.submitValue();
|
|
585
|
+
return;
|
|
586
|
+
}
|
|
587
|
+
this.addNewLine();
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
// Submit (Enter)
|
|
591
|
+
if (kb.matches(data, "submit")) {
|
|
592
|
+
if (this.disableSubmit)
|
|
593
|
+
return;
|
|
594
|
+
// Workaround for terminals without Shift+Enter support:
|
|
595
|
+
// If char before cursor is \, delete it and insert newline instead of submitting.
|
|
596
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
597
|
+
if (this.state.cursorCol > 0 && currentLine[this.state.cursorCol - 1] === "\\") {
|
|
598
|
+
this.handleBackspace();
|
|
599
|
+
this.addNewLine();
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
this.submitValue();
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
// Arrow key navigation (with history support)
|
|
606
|
+
if (kb.matches(data, "cursorUp")) {
|
|
607
|
+
if (this.isEditorEmpty()) {
|
|
608
|
+
this.navigateHistory(-1);
|
|
609
|
+
}
|
|
610
|
+
else if (this.historyIndex > -1 && this.isOnFirstVisualLine()) {
|
|
611
|
+
this.navigateHistory(-1);
|
|
612
|
+
}
|
|
613
|
+
else if (this.isOnFirstVisualLine()) {
|
|
614
|
+
// Already at top - jump to start of line
|
|
615
|
+
this.moveToLineStart();
|
|
616
|
+
}
|
|
617
|
+
else {
|
|
618
|
+
this.moveCursor(-1, 0);
|
|
619
|
+
}
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
if (kb.matches(data, "cursorDown")) {
|
|
623
|
+
if (this.historyIndex > -1 && this.isOnLastVisualLine()) {
|
|
624
|
+
this.navigateHistory(1);
|
|
625
|
+
}
|
|
626
|
+
else if (this.isOnLastVisualLine()) {
|
|
627
|
+
// Already at bottom - jump to end of line
|
|
628
|
+
this.moveToLineEnd();
|
|
629
|
+
}
|
|
630
|
+
else {
|
|
631
|
+
this.moveCursor(1, 0);
|
|
632
|
+
}
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
if (kb.matches(data, "cursorRight")) {
|
|
636
|
+
this.moveCursor(0, 1);
|
|
637
|
+
return;
|
|
638
|
+
}
|
|
639
|
+
if (kb.matches(data, "cursorLeft")) {
|
|
640
|
+
this.moveCursor(0, -1);
|
|
641
|
+
return;
|
|
642
|
+
}
|
|
643
|
+
// Page up/down - scroll by page and move cursor
|
|
644
|
+
if (kb.matches(data, "pageUp")) {
|
|
645
|
+
this.pageScroll(-1);
|
|
646
|
+
return;
|
|
647
|
+
}
|
|
648
|
+
if (kb.matches(data, "pageDown")) {
|
|
649
|
+
this.pageScroll(1);
|
|
650
|
+
return;
|
|
651
|
+
}
|
|
652
|
+
// Character jump mode triggers
|
|
653
|
+
if (kb.matches(data, "jumpForward")) {
|
|
654
|
+
this.jumpMode = "forward";
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
657
|
+
if (kb.matches(data, "jumpBackward")) {
|
|
658
|
+
this.jumpMode = "backward";
|
|
659
|
+
return;
|
|
660
|
+
}
|
|
661
|
+
// Shift+Space - insert regular space
|
|
662
|
+
if (matchesKey(data, "shift+space")) {
|
|
663
|
+
this.insertCharacter(" ");
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
const kittyPrintable = decodeKittyPrintable(data);
|
|
667
|
+
if (kittyPrintable !== undefined) {
|
|
668
|
+
this.insertCharacter(kittyPrintable);
|
|
669
|
+
return;
|
|
670
|
+
}
|
|
671
|
+
// Regular characters — but reject anything that looks like a partial
|
|
672
|
+
// escape sequence (e.g. "[97;1u" when ESC was split off by stdin buffering)
|
|
673
|
+
if (data.charCodeAt(0) >= 32 && !looksLikePartialEscapeSequence(data) && !looksLikeCsiFragment(data)) {
|
|
674
|
+
this.insertCharacter(data);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
layoutText(contentWidth) {
|
|
678
|
+
const layoutLines = [];
|
|
679
|
+
if (this.state.lines.length === 0 || (this.state.lines.length === 1 && this.state.lines[0] === "")) {
|
|
680
|
+
// Empty editor
|
|
681
|
+
layoutLines.push({
|
|
682
|
+
text: "",
|
|
683
|
+
hasCursor: true,
|
|
684
|
+
cursorPos: 0,
|
|
685
|
+
});
|
|
686
|
+
return layoutLines;
|
|
687
|
+
}
|
|
688
|
+
// Process each logical line
|
|
689
|
+
for (let i = 0; i < this.state.lines.length; i++) {
|
|
690
|
+
const line = this.state.lines[i] || "";
|
|
691
|
+
const isCurrentLine = i === this.state.cursorLine;
|
|
692
|
+
const lineVisibleWidth = visibleWidth(line);
|
|
693
|
+
if (lineVisibleWidth <= contentWidth) {
|
|
694
|
+
// Line fits in one layout line
|
|
695
|
+
if (isCurrentLine) {
|
|
696
|
+
layoutLines.push({
|
|
697
|
+
text: line,
|
|
698
|
+
hasCursor: true,
|
|
699
|
+
cursorPos: this.state.cursorCol,
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
else {
|
|
703
|
+
layoutLines.push({
|
|
704
|
+
text: line,
|
|
705
|
+
hasCursor: false,
|
|
706
|
+
});
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
else {
|
|
710
|
+
// Line needs wrapping - use word-aware wrapping
|
|
711
|
+
const chunks = wordWrapLine(line, contentWidth, [...this.segment(line)]);
|
|
712
|
+
for (let chunkIndex = 0; chunkIndex < chunks.length; chunkIndex++) {
|
|
713
|
+
const chunk = chunks[chunkIndex];
|
|
714
|
+
if (!chunk)
|
|
715
|
+
continue;
|
|
716
|
+
const cursorPos = this.state.cursorCol;
|
|
717
|
+
const isLastChunk = chunkIndex === chunks.length - 1;
|
|
718
|
+
// Determine if cursor is in this chunk
|
|
719
|
+
// For word-wrapped chunks, we need to handle the case where
|
|
720
|
+
// cursor might be in trimmed whitespace at end of chunk
|
|
721
|
+
let hasCursorInChunk = false;
|
|
722
|
+
let adjustedCursorPos = 0;
|
|
723
|
+
if (isCurrentLine) {
|
|
724
|
+
if (isLastChunk) {
|
|
725
|
+
// Last chunk: cursor belongs here if >= startIndex
|
|
726
|
+
hasCursorInChunk = cursorPos >= chunk.startIndex;
|
|
727
|
+
adjustedCursorPos = cursorPos - chunk.startIndex;
|
|
728
|
+
}
|
|
729
|
+
else {
|
|
730
|
+
// Non-last chunk: cursor belongs here if in range [startIndex, endIndex)
|
|
731
|
+
// But we need to handle the visual position in the trimmed text
|
|
732
|
+
hasCursorInChunk = cursorPos >= chunk.startIndex && cursorPos < chunk.endIndex;
|
|
733
|
+
if (hasCursorInChunk) {
|
|
734
|
+
adjustedCursorPos = cursorPos - chunk.startIndex;
|
|
735
|
+
// Clamp to text length (in case cursor was in trimmed whitespace)
|
|
736
|
+
if (adjustedCursorPos > chunk.text.length) {
|
|
737
|
+
adjustedCursorPos = chunk.text.length;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
if (hasCursorInChunk) {
|
|
743
|
+
layoutLines.push({
|
|
744
|
+
text: chunk.text,
|
|
745
|
+
hasCursor: true,
|
|
746
|
+
cursorPos: adjustedCursorPos,
|
|
747
|
+
});
|
|
748
|
+
}
|
|
749
|
+
else {
|
|
750
|
+
layoutLines.push({
|
|
751
|
+
text: chunk.text,
|
|
752
|
+
hasCursor: false,
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
return layoutLines;
|
|
759
|
+
}
|
|
760
|
+
getText() {
|
|
761
|
+
return this.state.lines.join("\n");
|
|
762
|
+
}
|
|
763
|
+
expandPasteMarkers(text) {
|
|
764
|
+
let result = text;
|
|
765
|
+
for (const [pasteId, pasteContent] of this.pastes) {
|
|
766
|
+
const markerRegex = new RegExp(`\\[paste #${pasteId}( (\\+\\d+ lines|\\d+ chars))?\\]`, "g");
|
|
767
|
+
result = result.replace(markerRegex, () => pasteContent);
|
|
768
|
+
}
|
|
769
|
+
return result;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Get text with paste markers expanded to their actual content.
|
|
773
|
+
* Use this when you need the full content (e.g., for external editor).
|
|
774
|
+
*/
|
|
775
|
+
getExpandedText() {
|
|
776
|
+
return this.expandPasteMarkers(this.state.lines.join("\n"));
|
|
777
|
+
}
|
|
778
|
+
getLines() {
|
|
779
|
+
return [...this.state.lines];
|
|
780
|
+
}
|
|
781
|
+
getCursor() {
|
|
782
|
+
return { line: this.state.cursorLine, col: this.state.cursorCol };
|
|
783
|
+
}
|
|
784
|
+
setText(text) {
|
|
785
|
+
this.lastAction = null;
|
|
786
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
787
|
+
const normalized = this.normalizeText(text);
|
|
788
|
+
// Push undo snapshot if content differs (makes programmatic changes undoable)
|
|
789
|
+
if (this.getText() !== normalized) {
|
|
790
|
+
this.pushUndoSnapshot();
|
|
791
|
+
}
|
|
792
|
+
this.setTextInternal(normalized);
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* Insert text at the current cursor position.
|
|
796
|
+
* Used for programmatic insertion (e.g., clipboard image markers).
|
|
797
|
+
* This is atomic for undo - single undo restores entire pre-insert state.
|
|
798
|
+
*/
|
|
799
|
+
insertTextAtCursor(text) {
|
|
800
|
+
if (!text)
|
|
801
|
+
return;
|
|
802
|
+
this.pushUndoSnapshot();
|
|
803
|
+
this.lastAction = null;
|
|
804
|
+
this.historyIndex = -1;
|
|
805
|
+
this.insertTextAtCursorInternal(text);
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* Normalize text for editor storage:
|
|
809
|
+
* - Normalize line endings (\r\n and \r -> \n)
|
|
810
|
+
* - Expand tabs to 4 spaces
|
|
811
|
+
*/
|
|
812
|
+
normalizeText(text) {
|
|
813
|
+
return text.replace(/\r\n/g, "\n").replace(/\r/g, "\n").replace(/\t/g, " ");
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Internal text insertion at cursor. Handles single and multi-line text.
|
|
817
|
+
* Does not push undo snapshots or trigger autocomplete - caller is responsible.
|
|
818
|
+
* Normalizes line endings and calls onChange once at the end.
|
|
819
|
+
*/
|
|
820
|
+
insertTextAtCursorInternal(text) {
|
|
821
|
+
if (!text)
|
|
822
|
+
return;
|
|
823
|
+
// Normalize line endings and tabs
|
|
824
|
+
const normalized = this.normalizeText(text);
|
|
825
|
+
const insertedLines = normalized.split("\n");
|
|
826
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
827
|
+
const beforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
828
|
+
const afterCursor = currentLine.slice(this.state.cursorCol);
|
|
829
|
+
if (insertedLines.length === 1) {
|
|
830
|
+
// Single line - insert at cursor position
|
|
831
|
+
this.state.lines[this.state.cursorLine] = beforeCursor + normalized + afterCursor;
|
|
832
|
+
this.setCursorCol(this.state.cursorCol + normalized.length);
|
|
833
|
+
}
|
|
834
|
+
else {
|
|
835
|
+
// Multi-line insertion
|
|
836
|
+
this.state.lines = [
|
|
837
|
+
// All lines before current line
|
|
838
|
+
...this.state.lines.slice(0, this.state.cursorLine),
|
|
839
|
+
// The first inserted line merged with text before cursor
|
|
840
|
+
beforeCursor + insertedLines[0],
|
|
841
|
+
// All middle inserted lines
|
|
842
|
+
...insertedLines.slice(1, -1),
|
|
843
|
+
// The last inserted line with text after cursor
|
|
844
|
+
insertedLines[insertedLines.length - 1] + afterCursor,
|
|
845
|
+
// All lines after current line
|
|
846
|
+
...this.state.lines.slice(this.state.cursorLine + 1),
|
|
847
|
+
];
|
|
848
|
+
this.state.cursorLine += insertedLines.length - 1;
|
|
849
|
+
this.setCursorCol((insertedLines[insertedLines.length - 1] || "").length);
|
|
850
|
+
}
|
|
851
|
+
if (this.onChange) {
|
|
852
|
+
this.onChange(this.getText());
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
// All the editor methods from before...
|
|
856
|
+
insertCharacter(char, skipUndoCoalescing) {
|
|
857
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
858
|
+
// Undo coalescing (fish-style):
|
|
859
|
+
// - Consecutive word chars coalesce into one undo unit
|
|
860
|
+
// - Space captures state before itself (so undo removes space+following word together)
|
|
861
|
+
// - Each space is separately undoable
|
|
862
|
+
// Skip coalescing when called from atomic operations (e.g., handlePaste)
|
|
863
|
+
if (!skipUndoCoalescing) {
|
|
864
|
+
if (isWhitespaceChar(char) || this.lastAction !== "type-word") {
|
|
865
|
+
this.pushUndoSnapshot();
|
|
866
|
+
}
|
|
867
|
+
this.lastAction = "type-word";
|
|
868
|
+
}
|
|
869
|
+
const line = this.state.lines[this.state.cursorLine] || "";
|
|
870
|
+
const before = line.slice(0, this.state.cursorCol);
|
|
871
|
+
const after = line.slice(this.state.cursorCol);
|
|
872
|
+
this.state.lines[this.state.cursorLine] = before + char + after;
|
|
873
|
+
this.setCursorCol(this.state.cursorCol + char.length);
|
|
874
|
+
if (this.onChange) {
|
|
875
|
+
this.onChange(this.getText());
|
|
876
|
+
}
|
|
877
|
+
// Check if we should trigger or update autocomplete
|
|
878
|
+
if (!this.autocompleteState) {
|
|
879
|
+
// Auto-trigger for "/" at the start of a line (slash commands)
|
|
880
|
+
if (char === "/" && this.isAtStartOfMessage()) {
|
|
881
|
+
this.tryTriggerAutocomplete();
|
|
882
|
+
}
|
|
883
|
+
// Auto-trigger for "@" file reference (fuzzy search)
|
|
884
|
+
else if (char === "@") {
|
|
885
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
886
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
887
|
+
// Only trigger if @ is after whitespace or at start of line
|
|
888
|
+
const charBeforeAt = textBeforeCursor[textBeforeCursor.length - 2];
|
|
889
|
+
if (textBeforeCursor.length === 1 || charBeforeAt === " " || charBeforeAt === "\t") {
|
|
890
|
+
this.tryTriggerAutocomplete();
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
// Also auto-trigger when typing letters in a slash command context
|
|
894
|
+
else if (/[a-zA-Z0-9.\-_]/.test(char)) {
|
|
895
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
896
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
897
|
+
// Check if we're in a slash command (with or without space for arguments)
|
|
898
|
+
if (this.isInSlashCommandContext(textBeforeCursor)) {
|
|
899
|
+
this.tryTriggerAutocomplete();
|
|
900
|
+
}
|
|
901
|
+
// Check if we're in an @ file reference context
|
|
902
|
+
else if (textBeforeCursor.match(/(?:^|[\s])@[^\s]*$/)) {
|
|
903
|
+
this.tryTriggerAutocomplete();
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
else {
|
|
908
|
+
this.updateAutocomplete();
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
handlePaste(pastedText) {
|
|
912
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
913
|
+
this.lastAction = null;
|
|
914
|
+
this.pushUndoSnapshot();
|
|
915
|
+
// Clean the pasted text: normalize line endings, expand tabs
|
|
916
|
+
const cleanText = this.normalizeText(pastedText);
|
|
917
|
+
// Filter out non-printable characters except newlines
|
|
918
|
+
let filteredText = cleanText
|
|
919
|
+
.split("")
|
|
920
|
+
.filter((char) => char === "\n" || char.charCodeAt(0) >= 32)
|
|
921
|
+
.join("");
|
|
922
|
+
// If pasting a file path (starts with /, ~, or .) and the character before
|
|
923
|
+
// the cursor is a word character, prepend a space for better readability
|
|
924
|
+
if (/^[/~.]/.test(filteredText)) {
|
|
925
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
926
|
+
const charBeforeCursor = this.state.cursorCol > 0 ? currentLine[this.state.cursorCol - 1] : "";
|
|
927
|
+
if (charBeforeCursor && /\w/.test(charBeforeCursor)) {
|
|
928
|
+
filteredText = ` ${filteredText}`;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
// Split into lines to check for large paste
|
|
932
|
+
const pastedLines = filteredText.split("\n");
|
|
933
|
+
// Check if this is a large paste (> 10 lines or > 1000 characters)
|
|
934
|
+
const totalChars = filteredText.length;
|
|
935
|
+
if (pastedLines.length > 10 || totalChars > 1000) {
|
|
936
|
+
// Store the paste and insert a marker
|
|
937
|
+
this.pasteCounter++;
|
|
938
|
+
const pasteId = this.pasteCounter;
|
|
939
|
+
this.pastes.set(pasteId, filteredText);
|
|
940
|
+
// Insert marker like "[paste #1 +123 lines]" or "[paste #1 1234 chars]"
|
|
941
|
+
const marker = pastedLines.length > 10
|
|
942
|
+
? `[paste #${pasteId} +${pastedLines.length} lines]`
|
|
943
|
+
: `[paste #${pasteId} ${totalChars} chars]`;
|
|
944
|
+
this.insertTextAtCursorInternal(marker);
|
|
945
|
+
return;
|
|
946
|
+
}
|
|
947
|
+
if (pastedLines.length === 1) {
|
|
948
|
+
// Single line - insert atomically (do not trigger autocomplete during paste)
|
|
949
|
+
this.insertTextAtCursorInternal(filteredText);
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
// Multi-line paste - use direct state manipulation
|
|
953
|
+
this.insertTextAtCursorInternal(filteredText);
|
|
954
|
+
}
|
|
955
|
+
addNewLine() {
|
|
956
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
957
|
+
this.lastAction = null;
|
|
958
|
+
this.pushUndoSnapshot();
|
|
959
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
960
|
+
const before = currentLine.slice(0, this.state.cursorCol);
|
|
961
|
+
const after = currentLine.slice(this.state.cursorCol);
|
|
962
|
+
// Split current line
|
|
963
|
+
this.state.lines[this.state.cursorLine] = before;
|
|
964
|
+
this.state.lines.splice(this.state.cursorLine + 1, 0, after);
|
|
965
|
+
// Move cursor to start of new line
|
|
966
|
+
this.state.cursorLine++;
|
|
967
|
+
this.setCursorCol(0);
|
|
968
|
+
if (this.onChange) {
|
|
969
|
+
this.onChange(this.getText());
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
shouldSubmitOnBackslashEnter(data, kb) {
|
|
973
|
+
if (this.disableSubmit)
|
|
974
|
+
return false;
|
|
975
|
+
if (!matchesKey(data, "enter"))
|
|
976
|
+
return false;
|
|
977
|
+
const submitKeys = kb.getKeys("submit");
|
|
978
|
+
const hasShiftEnter = submitKeys.includes("shift+enter") || submitKeys.includes("shift+return");
|
|
979
|
+
if (!hasShiftEnter)
|
|
980
|
+
return false;
|
|
981
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
982
|
+
return this.state.cursorCol > 0 && currentLine[this.state.cursorCol - 1] === "\\";
|
|
983
|
+
}
|
|
984
|
+
submitValue() {
|
|
985
|
+
const result = this.expandPasteMarkers(this.state.lines.join("\n")).trim();
|
|
986
|
+
this.state = { lines: [""], cursorLine: 0, cursorCol: 0 };
|
|
987
|
+
this.pastes.clear();
|
|
988
|
+
this.pasteCounter = 0;
|
|
989
|
+
this.historyIndex = -1;
|
|
990
|
+
this.scrollOffset = 0;
|
|
991
|
+
this.undoStack.clear();
|
|
992
|
+
this.lastAction = null;
|
|
993
|
+
if (this.onChange)
|
|
994
|
+
this.onChange("");
|
|
995
|
+
if (this.onSubmit)
|
|
996
|
+
this.onSubmit(result);
|
|
997
|
+
}
|
|
998
|
+
handleBackspace() {
|
|
999
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1000
|
+
this.lastAction = null;
|
|
1001
|
+
if (this.state.cursorCol > 0) {
|
|
1002
|
+
this.pushUndoSnapshot();
|
|
1003
|
+
// Delete grapheme before cursor (handles emojis, combining characters, etc.)
|
|
1004
|
+
const line = this.state.lines[this.state.cursorLine] || "";
|
|
1005
|
+
const beforeCursor = line.slice(0, this.state.cursorCol);
|
|
1006
|
+
// Find the last grapheme in the text before cursor
|
|
1007
|
+
const graphemes = [...this.segment(beforeCursor)];
|
|
1008
|
+
const lastGrapheme = graphemes[graphemes.length - 1];
|
|
1009
|
+
const graphemeLength = lastGrapheme ? lastGrapheme.segment.length : 1;
|
|
1010
|
+
const before = line.slice(0, this.state.cursorCol - graphemeLength);
|
|
1011
|
+
const after = line.slice(this.state.cursorCol);
|
|
1012
|
+
this.state.lines[this.state.cursorLine] = before + after;
|
|
1013
|
+
this.setCursorCol(this.state.cursorCol - graphemeLength);
|
|
1014
|
+
}
|
|
1015
|
+
else if (this.state.cursorLine > 0) {
|
|
1016
|
+
this.pushUndoSnapshot();
|
|
1017
|
+
// Merge with previous line
|
|
1018
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1019
|
+
const previousLine = this.state.lines[this.state.cursorLine - 1] || "";
|
|
1020
|
+
this.state.lines[this.state.cursorLine - 1] = previousLine + currentLine;
|
|
1021
|
+
this.state.lines.splice(this.state.cursorLine, 1);
|
|
1022
|
+
this.state.cursorLine--;
|
|
1023
|
+
this.setCursorCol(previousLine.length);
|
|
1024
|
+
}
|
|
1025
|
+
if (this.onChange) {
|
|
1026
|
+
this.onChange(this.getText());
|
|
1027
|
+
}
|
|
1028
|
+
// Update or re-trigger autocomplete after backspace
|
|
1029
|
+
if (this.autocompleteState) {
|
|
1030
|
+
this.updateAutocomplete();
|
|
1031
|
+
}
|
|
1032
|
+
else {
|
|
1033
|
+
// If autocomplete was cancelled (no matches), re-trigger if we're in a completable context
|
|
1034
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1035
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1036
|
+
// Slash command context
|
|
1037
|
+
if (this.isInSlashCommandContext(textBeforeCursor)) {
|
|
1038
|
+
this.tryTriggerAutocomplete();
|
|
1039
|
+
}
|
|
1040
|
+
// @ file reference context
|
|
1041
|
+
else if (textBeforeCursor.match(/(?:^|[\s])@[^\s]*$/)) {
|
|
1042
|
+
this.tryTriggerAutocomplete();
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Set cursor column and clear preferredVisualCol.
|
|
1048
|
+
* Use this for all non-vertical cursor movements to reset sticky column behavior.
|
|
1049
|
+
*/
|
|
1050
|
+
setCursorCol(col) {
|
|
1051
|
+
this.state.cursorCol = col;
|
|
1052
|
+
this.preferredVisualCol = null;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* Move cursor to a target visual line, applying sticky column logic.
|
|
1056
|
+
* Shared by moveCursor() and pageScroll().
|
|
1057
|
+
*/
|
|
1058
|
+
moveToVisualLine(visualLines, currentVisualLine, targetVisualLine) {
|
|
1059
|
+
const currentVL = visualLines[currentVisualLine];
|
|
1060
|
+
const targetVL = visualLines[targetVisualLine];
|
|
1061
|
+
if (currentVL && targetVL) {
|
|
1062
|
+
const currentVisualCol = this.state.cursorCol - currentVL.startCol;
|
|
1063
|
+
// For non-last segments, clamp to length-1 to stay within the segment
|
|
1064
|
+
const isLastSourceSegment = currentVisualLine === visualLines.length - 1 ||
|
|
1065
|
+
visualLines[currentVisualLine + 1]?.logicalLine !== currentVL.logicalLine;
|
|
1066
|
+
const sourceMaxVisualCol = isLastSourceSegment ? currentVL.length : Math.max(0, currentVL.length - 1);
|
|
1067
|
+
const isLastTargetSegment = targetVisualLine === visualLines.length - 1 ||
|
|
1068
|
+
visualLines[targetVisualLine + 1]?.logicalLine !== targetVL.logicalLine;
|
|
1069
|
+
const targetMaxVisualCol = isLastTargetSegment ? targetVL.length : Math.max(0, targetVL.length - 1);
|
|
1070
|
+
const moveToVisualCol = this.computeVerticalMoveColumn(currentVisualCol, sourceMaxVisualCol, targetMaxVisualCol);
|
|
1071
|
+
// Set cursor position
|
|
1072
|
+
this.state.cursorLine = targetVL.logicalLine;
|
|
1073
|
+
const targetCol = targetVL.startCol + moveToVisualCol;
|
|
1074
|
+
const logicalLine = this.state.lines[targetVL.logicalLine] || "";
|
|
1075
|
+
this.state.cursorCol = Math.min(targetCol, logicalLine.length);
|
|
1076
|
+
// Snap cursor to atomic segment boundary (e.g. paste markers)
|
|
1077
|
+
// so the cursor never lands in the middle of a multi-grapheme unit.
|
|
1078
|
+
// Single-grapheme segments don't need snapping.
|
|
1079
|
+
const segments = [...this.segment(logicalLine)];
|
|
1080
|
+
for (const seg of segments) {
|
|
1081
|
+
if (seg.index > this.state.cursorCol)
|
|
1082
|
+
break;
|
|
1083
|
+
if (seg.segment.length <= 1)
|
|
1084
|
+
continue;
|
|
1085
|
+
if (this.state.cursorCol < seg.index + seg.segment.length) {
|
|
1086
|
+
// jump to the start of the segment when moving up, to the end when moving down.
|
|
1087
|
+
this.state.cursorCol = currentVisualLine > targetVisualLine ? seg.index : seg.index + seg.segment.length;
|
|
1088
|
+
break;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
/**
|
|
1094
|
+
* Compute the target visual column for vertical cursor movement.
|
|
1095
|
+
* Implements the sticky column decision table:
|
|
1096
|
+
*
|
|
1097
|
+
* | P | S | T | U | Scenario | Set Preferred | Move To |
|
|
1098
|
+
* |---|---|---|---| ---------------------------------------------------- |---------------|-------------|
|
|
1099
|
+
* | 0 | * | 0 | - | Start nav, target fits | null | current |
|
|
1100
|
+
* | 0 | * | 1 | - | Start nav, target shorter | current | target end |
|
|
1101
|
+
* | 1 | 0 | 0 | 0 | Clamped, target fits preferred | null | preferred |
|
|
1102
|
+
* | 1 | 0 | 0 | 1 | Clamped, target longer but still can't fit preferred | keep | target end |
|
|
1103
|
+
* | 1 | 0 | 1 | - | Clamped, target even shorter | keep | target end |
|
|
1104
|
+
* | 1 | 1 | 0 | - | Rewrapped, target fits current | null | current |
|
|
1105
|
+
* | 1 | 1 | 1 | - | Rewrapped, target shorter than current | current | target end |
|
|
1106
|
+
*
|
|
1107
|
+
* Where:
|
|
1108
|
+
* - P = preferred col is set
|
|
1109
|
+
* - S = cursor in middle of source line (not clamped to end)
|
|
1110
|
+
* - T = target line shorter than current visual col
|
|
1111
|
+
* - U = target line shorter than preferred col
|
|
1112
|
+
*/
|
|
1113
|
+
computeVerticalMoveColumn(currentVisualCol, sourceMaxVisualCol, targetMaxVisualCol) {
|
|
1114
|
+
const hasPreferred = this.preferredVisualCol !== null; // P
|
|
1115
|
+
const cursorInMiddle = currentVisualCol < sourceMaxVisualCol; // S
|
|
1116
|
+
const targetTooShort = targetMaxVisualCol < currentVisualCol; // T
|
|
1117
|
+
if (!hasPreferred || cursorInMiddle) {
|
|
1118
|
+
if (targetTooShort) {
|
|
1119
|
+
// Cases 2 and 7
|
|
1120
|
+
this.preferredVisualCol = currentVisualCol;
|
|
1121
|
+
return targetMaxVisualCol;
|
|
1122
|
+
}
|
|
1123
|
+
// Cases 1 and 6
|
|
1124
|
+
this.preferredVisualCol = null;
|
|
1125
|
+
return currentVisualCol;
|
|
1126
|
+
}
|
|
1127
|
+
const targetCantFitPreferred = targetMaxVisualCol < this.preferredVisualCol; // U
|
|
1128
|
+
if (targetTooShort || targetCantFitPreferred) {
|
|
1129
|
+
// Cases 4 and 5
|
|
1130
|
+
return targetMaxVisualCol;
|
|
1131
|
+
}
|
|
1132
|
+
// Case 3
|
|
1133
|
+
const result = this.preferredVisualCol;
|
|
1134
|
+
this.preferredVisualCol = null;
|
|
1135
|
+
return result;
|
|
1136
|
+
}
|
|
1137
|
+
moveToLineStart() {
|
|
1138
|
+
this.lastAction = null;
|
|
1139
|
+
this.setCursorCol(0);
|
|
1140
|
+
}
|
|
1141
|
+
moveToLineEnd() {
|
|
1142
|
+
this.lastAction = null;
|
|
1143
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1144
|
+
this.setCursorCol(currentLine.length);
|
|
1145
|
+
}
|
|
1146
|
+
deleteToStartOfLine() {
|
|
1147
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1148
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1149
|
+
if (this.state.cursorCol > 0) {
|
|
1150
|
+
this.pushUndoSnapshot();
|
|
1151
|
+
// Calculate text to be deleted and save to kill ring (backward deletion = prepend)
|
|
1152
|
+
const deletedText = currentLine.slice(0, this.state.cursorCol);
|
|
1153
|
+
this.killRing.push(deletedText, { prepend: true, accumulate: this.lastAction === "kill" });
|
|
1154
|
+
this.lastAction = "kill";
|
|
1155
|
+
// Delete from start of line up to cursor
|
|
1156
|
+
this.state.lines[this.state.cursorLine] = currentLine.slice(this.state.cursorCol);
|
|
1157
|
+
this.setCursorCol(0);
|
|
1158
|
+
}
|
|
1159
|
+
else if (this.state.cursorLine > 0) {
|
|
1160
|
+
this.pushUndoSnapshot();
|
|
1161
|
+
// At start of line - merge with previous line, treating newline as deleted text
|
|
1162
|
+
this.killRing.push("\n", { prepend: true, accumulate: this.lastAction === "kill" });
|
|
1163
|
+
this.lastAction = "kill";
|
|
1164
|
+
const previousLine = this.state.lines[this.state.cursorLine - 1] || "";
|
|
1165
|
+
this.state.lines[this.state.cursorLine - 1] = previousLine + currentLine;
|
|
1166
|
+
this.state.lines.splice(this.state.cursorLine, 1);
|
|
1167
|
+
this.state.cursorLine--;
|
|
1168
|
+
this.setCursorCol(previousLine.length);
|
|
1169
|
+
}
|
|
1170
|
+
if (this.onChange) {
|
|
1171
|
+
this.onChange(this.getText());
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
deleteToEndOfLine() {
|
|
1175
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1176
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1177
|
+
if (this.state.cursorCol < currentLine.length) {
|
|
1178
|
+
this.pushUndoSnapshot();
|
|
1179
|
+
// Calculate text to be deleted and save to kill ring (forward deletion = append)
|
|
1180
|
+
const deletedText = currentLine.slice(this.state.cursorCol);
|
|
1181
|
+
this.killRing.push(deletedText, { prepend: false, accumulate: this.lastAction === "kill" });
|
|
1182
|
+
this.lastAction = "kill";
|
|
1183
|
+
// Delete from cursor to end of line
|
|
1184
|
+
this.state.lines[this.state.cursorLine] = currentLine.slice(0, this.state.cursorCol);
|
|
1185
|
+
}
|
|
1186
|
+
else if (this.state.cursorLine < this.state.lines.length - 1) {
|
|
1187
|
+
this.pushUndoSnapshot();
|
|
1188
|
+
// At end of line - merge with next line, treating newline as deleted text
|
|
1189
|
+
this.killRing.push("\n", { prepend: false, accumulate: this.lastAction === "kill" });
|
|
1190
|
+
this.lastAction = "kill";
|
|
1191
|
+
const nextLine = this.state.lines[this.state.cursorLine + 1] || "";
|
|
1192
|
+
this.state.lines[this.state.cursorLine] = currentLine + nextLine;
|
|
1193
|
+
this.state.lines.splice(this.state.cursorLine + 1, 1);
|
|
1194
|
+
}
|
|
1195
|
+
if (this.onChange) {
|
|
1196
|
+
this.onChange(this.getText());
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
deleteWordBackwards() {
|
|
1200
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1201
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1202
|
+
// If at start of line, behave like backspace at column 0 (merge with previous line)
|
|
1203
|
+
if (this.state.cursorCol === 0) {
|
|
1204
|
+
if (this.state.cursorLine > 0) {
|
|
1205
|
+
this.pushUndoSnapshot();
|
|
1206
|
+
// Treat newline as deleted text (backward deletion = prepend)
|
|
1207
|
+
this.killRing.push("\n", { prepend: true, accumulate: this.lastAction === "kill" });
|
|
1208
|
+
this.lastAction = "kill";
|
|
1209
|
+
const previousLine = this.state.lines[this.state.cursorLine - 1] || "";
|
|
1210
|
+
this.state.lines[this.state.cursorLine - 1] = previousLine + currentLine;
|
|
1211
|
+
this.state.lines.splice(this.state.cursorLine, 1);
|
|
1212
|
+
this.state.cursorLine--;
|
|
1213
|
+
this.setCursorCol(previousLine.length);
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
else {
|
|
1217
|
+
this.pushUndoSnapshot();
|
|
1218
|
+
// Save lastAction before cursor movement (moveWordBackwards resets it)
|
|
1219
|
+
const wasKill = this.lastAction === "kill";
|
|
1220
|
+
const oldCursorCol = this.state.cursorCol;
|
|
1221
|
+
this.moveWordBackwards();
|
|
1222
|
+
const deleteFrom = this.state.cursorCol;
|
|
1223
|
+
this.setCursorCol(oldCursorCol);
|
|
1224
|
+
const deletedText = currentLine.slice(deleteFrom, this.state.cursorCol);
|
|
1225
|
+
this.killRing.push(deletedText, { prepend: true, accumulate: wasKill });
|
|
1226
|
+
this.lastAction = "kill";
|
|
1227
|
+
this.state.lines[this.state.cursorLine] =
|
|
1228
|
+
currentLine.slice(0, deleteFrom) + currentLine.slice(this.state.cursorCol);
|
|
1229
|
+
this.setCursorCol(deleteFrom);
|
|
1230
|
+
}
|
|
1231
|
+
if (this.onChange) {
|
|
1232
|
+
this.onChange(this.getText());
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
deleteWordForward() {
|
|
1236
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1237
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1238
|
+
// If at end of line, merge with next line (delete the newline)
|
|
1239
|
+
if (this.state.cursorCol >= currentLine.length) {
|
|
1240
|
+
if (this.state.cursorLine < this.state.lines.length - 1) {
|
|
1241
|
+
this.pushUndoSnapshot();
|
|
1242
|
+
// Treat newline as deleted text (forward deletion = append)
|
|
1243
|
+
this.killRing.push("\n", { prepend: false, accumulate: this.lastAction === "kill" });
|
|
1244
|
+
this.lastAction = "kill";
|
|
1245
|
+
const nextLine = this.state.lines[this.state.cursorLine + 1] || "";
|
|
1246
|
+
this.state.lines[this.state.cursorLine] = currentLine + nextLine;
|
|
1247
|
+
this.state.lines.splice(this.state.cursorLine + 1, 1);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
else {
|
|
1251
|
+
this.pushUndoSnapshot();
|
|
1252
|
+
// Save lastAction before cursor movement (moveWordForwards resets it)
|
|
1253
|
+
const wasKill = this.lastAction === "kill";
|
|
1254
|
+
const oldCursorCol = this.state.cursorCol;
|
|
1255
|
+
this.moveWordForwards();
|
|
1256
|
+
const deleteTo = this.state.cursorCol;
|
|
1257
|
+
this.setCursorCol(oldCursorCol);
|
|
1258
|
+
const deletedText = currentLine.slice(this.state.cursorCol, deleteTo);
|
|
1259
|
+
this.killRing.push(deletedText, { prepend: false, accumulate: wasKill });
|
|
1260
|
+
this.lastAction = "kill";
|
|
1261
|
+
this.state.lines[this.state.cursorLine] =
|
|
1262
|
+
currentLine.slice(0, this.state.cursorCol) + currentLine.slice(deleteTo);
|
|
1263
|
+
}
|
|
1264
|
+
if (this.onChange) {
|
|
1265
|
+
this.onChange(this.getText());
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
handleForwardDelete() {
|
|
1269
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1270
|
+
this.lastAction = null;
|
|
1271
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1272
|
+
if (this.state.cursorCol < currentLine.length) {
|
|
1273
|
+
this.pushUndoSnapshot();
|
|
1274
|
+
// Delete grapheme at cursor position (handles emojis, combining characters, etc.)
|
|
1275
|
+
const afterCursor = currentLine.slice(this.state.cursorCol);
|
|
1276
|
+
// Find the first grapheme at cursor
|
|
1277
|
+
const graphemes = [...this.segment(afterCursor)];
|
|
1278
|
+
const firstGrapheme = graphemes[0];
|
|
1279
|
+
const graphemeLength = firstGrapheme ? firstGrapheme.segment.length : 1;
|
|
1280
|
+
const before = currentLine.slice(0, this.state.cursorCol);
|
|
1281
|
+
const after = currentLine.slice(this.state.cursorCol + graphemeLength);
|
|
1282
|
+
this.state.lines[this.state.cursorLine] = before + after;
|
|
1283
|
+
}
|
|
1284
|
+
else if (this.state.cursorLine < this.state.lines.length - 1) {
|
|
1285
|
+
this.pushUndoSnapshot();
|
|
1286
|
+
// At end of line - merge with next line
|
|
1287
|
+
const nextLine = this.state.lines[this.state.cursorLine + 1] || "";
|
|
1288
|
+
this.state.lines[this.state.cursorLine] = currentLine + nextLine;
|
|
1289
|
+
this.state.lines.splice(this.state.cursorLine + 1, 1);
|
|
1290
|
+
}
|
|
1291
|
+
if (this.onChange) {
|
|
1292
|
+
this.onChange(this.getText());
|
|
1293
|
+
}
|
|
1294
|
+
// Update or re-trigger autocomplete after forward delete
|
|
1295
|
+
if (this.autocompleteState) {
|
|
1296
|
+
this.updateAutocomplete();
|
|
1297
|
+
}
|
|
1298
|
+
else {
|
|
1299
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1300
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1301
|
+
// Slash command context
|
|
1302
|
+
if (this.isInSlashCommandContext(textBeforeCursor)) {
|
|
1303
|
+
this.tryTriggerAutocomplete();
|
|
1304
|
+
}
|
|
1305
|
+
// @ file reference context
|
|
1306
|
+
else if (textBeforeCursor.match(/(?:^|[\s])@[^\s]*$/)) {
|
|
1307
|
+
this.tryTriggerAutocomplete();
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
/**
|
|
1312
|
+
* Build a mapping from visual lines to logical positions.
|
|
1313
|
+
* Returns an array where each element represents a visual line with:
|
|
1314
|
+
* - logicalLine: index into this.state.lines
|
|
1315
|
+
* - startCol: starting column in the logical line
|
|
1316
|
+
* - length: length of this visual line segment
|
|
1317
|
+
*/
|
|
1318
|
+
buildVisualLineMap(width) {
|
|
1319
|
+
const visualLines = [];
|
|
1320
|
+
for (let i = 0; i < this.state.lines.length; i++) {
|
|
1321
|
+
const line = this.state.lines[i] || "";
|
|
1322
|
+
const lineVisWidth = visibleWidth(line);
|
|
1323
|
+
if (line.length === 0) {
|
|
1324
|
+
// Empty line still takes one visual line
|
|
1325
|
+
visualLines.push({ logicalLine: i, startCol: 0, length: 0 });
|
|
1326
|
+
}
|
|
1327
|
+
else if (lineVisWidth <= width) {
|
|
1328
|
+
visualLines.push({ logicalLine: i, startCol: 0, length: line.length });
|
|
1329
|
+
}
|
|
1330
|
+
else {
|
|
1331
|
+
// Line needs wrapping - use word-aware wrapping
|
|
1332
|
+
const chunks = wordWrapLine(line, width, [...this.segment(line)]);
|
|
1333
|
+
for (const chunk of chunks) {
|
|
1334
|
+
visualLines.push({
|
|
1335
|
+
logicalLine: i,
|
|
1336
|
+
startCol: chunk.startIndex,
|
|
1337
|
+
length: chunk.endIndex - chunk.startIndex,
|
|
1338
|
+
});
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
return visualLines;
|
|
1343
|
+
}
|
|
1344
|
+
/**
|
|
1345
|
+
* Find the visual line index for the current cursor position.
|
|
1346
|
+
*/
|
|
1347
|
+
findCurrentVisualLine(visualLines) {
|
|
1348
|
+
for (let i = 0; i < visualLines.length; i++) {
|
|
1349
|
+
const vl = visualLines[i];
|
|
1350
|
+
if (!vl)
|
|
1351
|
+
continue;
|
|
1352
|
+
if (vl.logicalLine === this.state.cursorLine) {
|
|
1353
|
+
const colInSegment = this.state.cursorCol - vl.startCol;
|
|
1354
|
+
// Cursor is in this segment if it's within range
|
|
1355
|
+
// For the last segment of a logical line, cursor can be at length (end position)
|
|
1356
|
+
const isLastSegmentOfLine = i === visualLines.length - 1 || visualLines[i + 1]?.logicalLine !== vl.logicalLine;
|
|
1357
|
+
if (colInSegment >= 0 && (colInSegment < vl.length || (isLastSegmentOfLine && colInSegment <= vl.length))) {
|
|
1358
|
+
return i;
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
// Fallback: return last visual line
|
|
1363
|
+
return visualLines.length - 1;
|
|
1364
|
+
}
|
|
1365
|
+
moveCursor(deltaLine, deltaCol) {
|
|
1366
|
+
this.lastAction = null;
|
|
1367
|
+
const visualLines = this.buildVisualLineMap(this.lastWidth);
|
|
1368
|
+
const currentVisualLine = this.findCurrentVisualLine(visualLines);
|
|
1369
|
+
if (deltaLine !== 0) {
|
|
1370
|
+
const targetVisualLine = currentVisualLine + deltaLine;
|
|
1371
|
+
if (targetVisualLine >= 0 && targetVisualLine < visualLines.length) {
|
|
1372
|
+
this.moveToVisualLine(visualLines, currentVisualLine, targetVisualLine);
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
if (deltaCol !== 0) {
|
|
1376
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1377
|
+
if (deltaCol > 0) {
|
|
1378
|
+
// Moving right - move by one grapheme (handles emojis, combining characters, etc.)
|
|
1379
|
+
if (this.state.cursorCol < currentLine.length) {
|
|
1380
|
+
const afterCursor = currentLine.slice(this.state.cursorCol);
|
|
1381
|
+
const graphemes = [...this.segment(afterCursor)];
|
|
1382
|
+
const firstGrapheme = graphemes[0];
|
|
1383
|
+
this.setCursorCol(this.state.cursorCol + (firstGrapheme ? firstGrapheme.segment.length : 1));
|
|
1384
|
+
}
|
|
1385
|
+
else if (this.state.cursorLine < this.state.lines.length - 1) {
|
|
1386
|
+
// Wrap to start of next logical line
|
|
1387
|
+
this.state.cursorLine++;
|
|
1388
|
+
this.setCursorCol(0);
|
|
1389
|
+
}
|
|
1390
|
+
else {
|
|
1391
|
+
// At end of last line - can't move, but set preferredVisualCol for up/down navigation
|
|
1392
|
+
const currentVL = visualLines[currentVisualLine];
|
|
1393
|
+
if (currentVL) {
|
|
1394
|
+
this.preferredVisualCol = this.state.cursorCol - currentVL.startCol;
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
else {
|
|
1399
|
+
// Moving left - move by one grapheme (handles emojis, combining characters, etc.)
|
|
1400
|
+
if (this.state.cursorCol > 0) {
|
|
1401
|
+
const beforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1402
|
+
const graphemes = [...this.segment(beforeCursor)];
|
|
1403
|
+
const lastGrapheme = graphemes[graphemes.length - 1];
|
|
1404
|
+
this.setCursorCol(this.state.cursorCol - (lastGrapheme ? lastGrapheme.segment.length : 1));
|
|
1405
|
+
}
|
|
1406
|
+
else if (this.state.cursorLine > 0) {
|
|
1407
|
+
// Wrap to end of previous logical line
|
|
1408
|
+
this.state.cursorLine--;
|
|
1409
|
+
const prevLine = this.state.lines[this.state.cursorLine] || "";
|
|
1410
|
+
this.setCursorCol(prevLine.length);
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
/**
|
|
1416
|
+
* Scroll by a page (direction: -1 for up, 1 for down).
|
|
1417
|
+
* Moves cursor by the page size while keeping it in bounds.
|
|
1418
|
+
*/
|
|
1419
|
+
pageScroll(direction) {
|
|
1420
|
+
this.lastAction = null;
|
|
1421
|
+
const terminalRows = this.tui.terminal.rows;
|
|
1422
|
+
const pageSize = Math.max(5, Math.floor(terminalRows * 0.3));
|
|
1423
|
+
const visualLines = this.buildVisualLineMap(this.lastWidth);
|
|
1424
|
+
const currentVisualLine = this.findCurrentVisualLine(visualLines);
|
|
1425
|
+
const targetVisualLine = Math.max(0, Math.min(visualLines.length - 1, currentVisualLine + direction * pageSize));
|
|
1426
|
+
this.moveToVisualLine(visualLines, currentVisualLine, targetVisualLine);
|
|
1427
|
+
}
|
|
1428
|
+
moveWordBackwards() {
|
|
1429
|
+
this.lastAction = null;
|
|
1430
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1431
|
+
// If at start of line, move to end of previous line
|
|
1432
|
+
if (this.state.cursorCol === 0) {
|
|
1433
|
+
if (this.state.cursorLine > 0) {
|
|
1434
|
+
this.state.cursorLine--;
|
|
1435
|
+
const prevLine = this.state.lines[this.state.cursorLine] || "";
|
|
1436
|
+
this.setCursorCol(prevLine.length);
|
|
1437
|
+
}
|
|
1438
|
+
return;
|
|
1439
|
+
}
|
|
1440
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1441
|
+
const graphemes = [...this.segment(textBeforeCursor)];
|
|
1442
|
+
let newCol = this.state.cursorCol;
|
|
1443
|
+
// Skip trailing whitespace
|
|
1444
|
+
while (graphemes.length > 0 &&
|
|
1445
|
+
!isPasteMarker(graphemes[graphemes.length - 1]?.segment || "") &&
|
|
1446
|
+
isWhitespaceChar(graphemes[graphemes.length - 1]?.segment || "")) {
|
|
1447
|
+
newCol -= graphemes.pop()?.segment.length || 0;
|
|
1448
|
+
}
|
|
1449
|
+
if (graphemes.length > 0) {
|
|
1450
|
+
const lastGrapheme = graphemes[graphemes.length - 1]?.segment || "";
|
|
1451
|
+
if (isPasteMarker(lastGrapheme)) {
|
|
1452
|
+
// Paste marker is a single atomic word
|
|
1453
|
+
newCol -= graphemes.pop()?.segment.length || 0;
|
|
1454
|
+
}
|
|
1455
|
+
else if (isPunctuationChar(lastGrapheme)) {
|
|
1456
|
+
// Skip punctuation run
|
|
1457
|
+
while (graphemes.length > 0 &&
|
|
1458
|
+
isPunctuationChar(graphemes[graphemes.length - 1]?.segment || "") &&
|
|
1459
|
+
!isPasteMarker(graphemes[graphemes.length - 1]?.segment || "")) {
|
|
1460
|
+
newCol -= graphemes.pop()?.segment.length || 0;
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
else {
|
|
1464
|
+
// Skip word run
|
|
1465
|
+
while (graphemes.length > 0 &&
|
|
1466
|
+
!isWhitespaceChar(graphemes[graphemes.length - 1]?.segment || "") &&
|
|
1467
|
+
!isPunctuationChar(graphemes[graphemes.length - 1]?.segment || "") &&
|
|
1468
|
+
!isPasteMarker(graphemes[graphemes.length - 1]?.segment || "")) {
|
|
1469
|
+
newCol -= graphemes.pop()?.segment.length || 0;
|
|
1470
|
+
}
|
|
1471
|
+
}
|
|
1472
|
+
}
|
|
1473
|
+
this.setCursorCol(newCol);
|
|
1474
|
+
}
|
|
1475
|
+
/**
|
|
1476
|
+
* Yank (paste) the most recent kill ring entry at cursor position.
|
|
1477
|
+
*/
|
|
1478
|
+
yank() {
|
|
1479
|
+
if (this.killRing.length === 0)
|
|
1480
|
+
return;
|
|
1481
|
+
this.pushUndoSnapshot();
|
|
1482
|
+
const text = this.killRing.peek();
|
|
1483
|
+
this.insertYankedText(text);
|
|
1484
|
+
this.lastAction = "yank";
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* Cycle through kill ring (only works immediately after yank or yank-pop).
|
|
1488
|
+
* Replaces the last yanked text with the previous entry in the ring.
|
|
1489
|
+
*/
|
|
1490
|
+
yankPop() {
|
|
1491
|
+
// Only works if we just yanked and have more than one entry
|
|
1492
|
+
if (this.lastAction !== "yank" || this.killRing.length <= 1)
|
|
1493
|
+
return;
|
|
1494
|
+
this.pushUndoSnapshot();
|
|
1495
|
+
// Delete the previously yanked text (still at end of ring before rotation)
|
|
1496
|
+
this.deleteYankedText();
|
|
1497
|
+
// Rotate the ring: move end to front
|
|
1498
|
+
this.killRing.rotate();
|
|
1499
|
+
// Insert the new most recent entry (now at end after rotation)
|
|
1500
|
+
const text = this.killRing.peek();
|
|
1501
|
+
this.insertYankedText(text);
|
|
1502
|
+
this.lastAction = "yank";
|
|
1503
|
+
}
|
|
1504
|
+
/**
|
|
1505
|
+
* Insert text at cursor position (used by yank operations).
|
|
1506
|
+
*/
|
|
1507
|
+
insertYankedText(text) {
|
|
1508
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1509
|
+
const lines = text.split("\n");
|
|
1510
|
+
if (lines.length === 1) {
|
|
1511
|
+
// Single line - insert at cursor
|
|
1512
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1513
|
+
const before = currentLine.slice(0, this.state.cursorCol);
|
|
1514
|
+
const after = currentLine.slice(this.state.cursorCol);
|
|
1515
|
+
this.state.lines[this.state.cursorLine] = before + text + after;
|
|
1516
|
+
this.setCursorCol(this.state.cursorCol + text.length);
|
|
1517
|
+
}
|
|
1518
|
+
else {
|
|
1519
|
+
// Multi-line insert
|
|
1520
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1521
|
+
const before = currentLine.slice(0, this.state.cursorCol);
|
|
1522
|
+
const after = currentLine.slice(this.state.cursorCol);
|
|
1523
|
+
// First line merges with text before cursor
|
|
1524
|
+
this.state.lines[this.state.cursorLine] = before + (lines[0] || "");
|
|
1525
|
+
// Insert middle lines
|
|
1526
|
+
for (let i = 1; i < lines.length - 1; i++) {
|
|
1527
|
+
this.state.lines.splice(this.state.cursorLine + i, 0, lines[i] || "");
|
|
1528
|
+
}
|
|
1529
|
+
// Last line merges with text after cursor
|
|
1530
|
+
const lastLineIndex = this.state.cursorLine + lines.length - 1;
|
|
1531
|
+
this.state.lines.splice(lastLineIndex, 0, (lines[lines.length - 1] || "") + after);
|
|
1532
|
+
// Update cursor position
|
|
1533
|
+
this.state.cursorLine = lastLineIndex;
|
|
1534
|
+
this.setCursorCol((lines[lines.length - 1] || "").length);
|
|
1535
|
+
}
|
|
1536
|
+
if (this.onChange) {
|
|
1537
|
+
this.onChange(this.getText());
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
/**
|
|
1541
|
+
* Delete the previously yanked text (used by yank-pop).
|
|
1542
|
+
* The yanked text is derived from killRing[end] since it hasn't been rotated yet.
|
|
1543
|
+
*/
|
|
1544
|
+
deleteYankedText() {
|
|
1545
|
+
const yankedText = this.killRing.peek();
|
|
1546
|
+
if (!yankedText)
|
|
1547
|
+
return;
|
|
1548
|
+
const yankLines = yankedText.split("\n");
|
|
1549
|
+
if (yankLines.length === 1) {
|
|
1550
|
+
// Single line - delete backward from cursor
|
|
1551
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1552
|
+
const deleteLen = yankedText.length;
|
|
1553
|
+
const before = currentLine.slice(0, this.state.cursorCol - deleteLen);
|
|
1554
|
+
const after = currentLine.slice(this.state.cursorCol);
|
|
1555
|
+
this.state.lines[this.state.cursorLine] = before + after;
|
|
1556
|
+
this.setCursorCol(this.state.cursorCol - deleteLen);
|
|
1557
|
+
}
|
|
1558
|
+
else {
|
|
1559
|
+
// Multi-line delete - cursor is at end of last yanked line
|
|
1560
|
+
const startLine = this.state.cursorLine - (yankLines.length - 1);
|
|
1561
|
+
const startCol = (this.state.lines[startLine] || "").length - (yankLines[0] || "").length;
|
|
1562
|
+
// Get text after cursor on current line
|
|
1563
|
+
const afterCursor = (this.state.lines[this.state.cursorLine] || "").slice(this.state.cursorCol);
|
|
1564
|
+
// Get text before yank start position
|
|
1565
|
+
const beforeYank = (this.state.lines[startLine] || "").slice(0, startCol);
|
|
1566
|
+
// Remove all lines from startLine to cursorLine and replace with merged line
|
|
1567
|
+
this.state.lines.splice(startLine, yankLines.length, beforeYank + afterCursor);
|
|
1568
|
+
// Update cursor
|
|
1569
|
+
this.state.cursorLine = startLine;
|
|
1570
|
+
this.setCursorCol(startCol);
|
|
1571
|
+
}
|
|
1572
|
+
if (this.onChange) {
|
|
1573
|
+
this.onChange(this.getText());
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
pushUndoSnapshot() {
|
|
1577
|
+
this.undoStack.push(this.state);
|
|
1578
|
+
}
|
|
1579
|
+
undo() {
|
|
1580
|
+
this.historyIndex = -1; // Exit history browsing mode
|
|
1581
|
+
const snapshot = this.undoStack.pop();
|
|
1582
|
+
if (!snapshot)
|
|
1583
|
+
return;
|
|
1584
|
+
Object.assign(this.state, snapshot);
|
|
1585
|
+
this.lastAction = null;
|
|
1586
|
+
this.preferredVisualCol = null;
|
|
1587
|
+
if (this.onChange) {
|
|
1588
|
+
this.onChange(this.getText());
|
|
1589
|
+
}
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
* Jump to the first occurrence of a character in the specified direction.
|
|
1593
|
+
* Multi-line search. Case-sensitive. Skips the current cursor position.
|
|
1594
|
+
*/
|
|
1595
|
+
jumpToChar(char, direction) {
|
|
1596
|
+
this.lastAction = null;
|
|
1597
|
+
const isForward = direction === "forward";
|
|
1598
|
+
const lines = this.state.lines;
|
|
1599
|
+
const end = isForward ? lines.length : -1;
|
|
1600
|
+
const step = isForward ? 1 : -1;
|
|
1601
|
+
for (let lineIdx = this.state.cursorLine; lineIdx !== end; lineIdx += step) {
|
|
1602
|
+
const line = lines[lineIdx] || "";
|
|
1603
|
+
const isCurrentLine = lineIdx === this.state.cursorLine;
|
|
1604
|
+
// Current line: start after/before cursor; other lines: search full line
|
|
1605
|
+
const searchFrom = isCurrentLine
|
|
1606
|
+
? isForward
|
|
1607
|
+
? this.state.cursorCol + 1
|
|
1608
|
+
: this.state.cursorCol - 1
|
|
1609
|
+
: undefined;
|
|
1610
|
+
const idx = isForward ? line.indexOf(char, searchFrom) : line.lastIndexOf(char, searchFrom);
|
|
1611
|
+
if (idx !== -1) {
|
|
1612
|
+
this.state.cursorLine = lineIdx;
|
|
1613
|
+
this.setCursorCol(idx);
|
|
1614
|
+
return;
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
// No match found - cursor stays in place
|
|
1618
|
+
}
|
|
1619
|
+
moveWordForwards() {
|
|
1620
|
+
this.lastAction = null;
|
|
1621
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1622
|
+
// If at end of line, move to start of next line
|
|
1623
|
+
if (this.state.cursorCol >= currentLine.length) {
|
|
1624
|
+
if (this.state.cursorLine < this.state.lines.length - 1) {
|
|
1625
|
+
this.state.cursorLine++;
|
|
1626
|
+
this.setCursorCol(0);
|
|
1627
|
+
}
|
|
1628
|
+
return;
|
|
1629
|
+
}
|
|
1630
|
+
const textAfterCursor = currentLine.slice(this.state.cursorCol);
|
|
1631
|
+
const segments = this.segment(textAfterCursor);
|
|
1632
|
+
const iterator = segments[Symbol.iterator]();
|
|
1633
|
+
let next = iterator.next();
|
|
1634
|
+
let newCol = this.state.cursorCol;
|
|
1635
|
+
// Skip leading whitespace
|
|
1636
|
+
while (!next.done && !isPasteMarker(next.value.segment) && isWhitespaceChar(next.value.segment)) {
|
|
1637
|
+
newCol += next.value.segment.length;
|
|
1638
|
+
next = iterator.next();
|
|
1639
|
+
}
|
|
1640
|
+
if (!next.done) {
|
|
1641
|
+
const firstGrapheme = next.value.segment;
|
|
1642
|
+
if (isPasteMarker(firstGrapheme)) {
|
|
1643
|
+
// Paste marker is a single atomic word
|
|
1644
|
+
newCol += firstGrapheme.length;
|
|
1645
|
+
}
|
|
1646
|
+
else if (isPunctuationChar(firstGrapheme)) {
|
|
1647
|
+
// Skip punctuation run
|
|
1648
|
+
while (!next.done && isPunctuationChar(next.value.segment) && !isPasteMarker(next.value.segment)) {
|
|
1649
|
+
newCol += next.value.segment.length;
|
|
1650
|
+
next = iterator.next();
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
else {
|
|
1654
|
+
// Skip word run
|
|
1655
|
+
while (!next.done &&
|
|
1656
|
+
!isWhitespaceChar(next.value.segment) &&
|
|
1657
|
+
!isPunctuationChar(next.value.segment) &&
|
|
1658
|
+
!isPasteMarker(next.value.segment)) {
|
|
1659
|
+
newCol += next.value.segment.length;
|
|
1660
|
+
next = iterator.next();
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
}
|
|
1664
|
+
this.setCursorCol(newCol);
|
|
1665
|
+
}
|
|
1666
|
+
// Slash menu only allowed on the first line of the editor
|
|
1667
|
+
isSlashMenuAllowed() {
|
|
1668
|
+
return this.state.cursorLine === 0;
|
|
1669
|
+
}
|
|
1670
|
+
// Helper method to check if cursor is at start of message (for slash command detection)
|
|
1671
|
+
isAtStartOfMessage() {
|
|
1672
|
+
if (!this.isSlashMenuAllowed())
|
|
1673
|
+
return false;
|
|
1674
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1675
|
+
const beforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1676
|
+
return beforeCursor.trim() === "" || beforeCursor.trim() === "/";
|
|
1677
|
+
}
|
|
1678
|
+
isInSlashCommandContext(textBeforeCursor) {
|
|
1679
|
+
return this.isSlashMenuAllowed() && textBeforeCursor.trimStart().startsWith("/");
|
|
1680
|
+
}
|
|
1681
|
+
shouldChainSlashArgumentAutocompleteOnTabSelection() {
|
|
1682
|
+
if (this.autocompleteState !== "regular") {
|
|
1683
|
+
return false;
|
|
1684
|
+
}
|
|
1685
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1686
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1687
|
+
return this.isInSlashCommandContext(textBeforeCursor) && !textBeforeCursor.trimStart().includes(" ");
|
|
1688
|
+
}
|
|
1689
|
+
isBareCompletedSlashCommandAtCursor() {
|
|
1690
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1691
|
+
if (this.state.cursorCol !== currentLine.length) {
|
|
1692
|
+
return false;
|
|
1693
|
+
}
|
|
1694
|
+
const textBeforeCursor = currentLine.slice(0, this.state.cursorCol).trimStart();
|
|
1695
|
+
return /^\/\S+ $/.test(textBeforeCursor);
|
|
1696
|
+
}
|
|
1697
|
+
// Autocomplete methods
|
|
1698
|
+
/**
|
|
1699
|
+
* Find the best autocomplete item index for the given prefix.
|
|
1700
|
+
* Returns -1 if no match is found.
|
|
1701
|
+
*
|
|
1702
|
+
* Match priority:
|
|
1703
|
+
* 1. Exact match (prefix === item.value) -> always selected
|
|
1704
|
+
* 2. Prefix match -> first item whose value starts with prefix
|
|
1705
|
+
* 3. No match -> -1 (keep default highlight)
|
|
1706
|
+
*
|
|
1707
|
+
* Matching is case-sensitive and checks item.value only.
|
|
1708
|
+
*/
|
|
1709
|
+
getBestAutocompleteMatchIndex(items, prefix) {
|
|
1710
|
+
if (!prefix)
|
|
1711
|
+
return -1;
|
|
1712
|
+
let firstPrefixIndex = -1;
|
|
1713
|
+
for (let i = 0; i < items.length; i++) {
|
|
1714
|
+
const value = items[i].value;
|
|
1715
|
+
if (value === prefix) {
|
|
1716
|
+
return i; // Exact match always wins
|
|
1717
|
+
}
|
|
1718
|
+
if (firstPrefixIndex === -1 && value.startsWith(prefix)) {
|
|
1719
|
+
firstPrefixIndex = i;
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1722
|
+
return firstPrefixIndex;
|
|
1723
|
+
}
|
|
1724
|
+
createAutocompleteList(prefix, items) {
|
|
1725
|
+
const layout = prefix.startsWith("/") ? SLASH_COMMAND_SELECT_LIST_LAYOUT : undefined;
|
|
1726
|
+
return new SelectList(items, this.autocompleteMaxVisible, this.theme.selectList, layout);
|
|
1727
|
+
}
|
|
1728
|
+
tryTriggerAutocomplete(explicitTab = false) {
|
|
1729
|
+
if (!this.autocompleteProvider)
|
|
1730
|
+
return;
|
|
1731
|
+
// Check if we should trigger file completion on Tab
|
|
1732
|
+
if (explicitTab) {
|
|
1733
|
+
const provider = this.autocompleteProvider;
|
|
1734
|
+
const shouldTrigger = !provider.shouldTriggerFileCompletion ||
|
|
1735
|
+
provider.shouldTriggerFileCompletion(this.state.lines, this.state.cursorLine, this.state.cursorCol);
|
|
1736
|
+
if (!shouldTrigger) {
|
|
1737
|
+
return;
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
const suggestions = this.autocompleteProvider.getSuggestions(this.state.lines, this.state.cursorLine, this.state.cursorCol);
|
|
1741
|
+
if (suggestions && suggestions.items.length > 0) {
|
|
1742
|
+
this.autocompletePrefix = suggestions.prefix;
|
|
1743
|
+
this.autocompleteList = this.createAutocompleteList(suggestions.prefix, suggestions.items);
|
|
1744
|
+
// If typed prefix exactly matches one of the suggestions, select that item
|
|
1745
|
+
const bestMatchIndex = this.getBestAutocompleteMatchIndex(suggestions.items, suggestions.prefix);
|
|
1746
|
+
if (bestMatchIndex >= 0) {
|
|
1747
|
+
this.autocompleteList.setSelectedIndex(bestMatchIndex);
|
|
1748
|
+
}
|
|
1749
|
+
this.autocompleteState = "regular";
|
|
1750
|
+
}
|
|
1751
|
+
else {
|
|
1752
|
+
this.cancelAutocomplete();
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
handleTabCompletion() {
|
|
1756
|
+
if (!this.autocompleteProvider)
|
|
1757
|
+
return;
|
|
1758
|
+
const currentLine = this.state.lines[this.state.cursorLine] || "";
|
|
1759
|
+
const beforeCursor = currentLine.slice(0, this.state.cursorCol);
|
|
1760
|
+
// Check if we're in a slash command context
|
|
1761
|
+
if (this.isInSlashCommandContext(beforeCursor) && !beforeCursor.trimStart().includes(" ")) {
|
|
1762
|
+
this.handleSlashCommandCompletion();
|
|
1763
|
+
}
|
|
1764
|
+
else {
|
|
1765
|
+
this.forceFileAutocomplete(true);
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
handleSlashCommandCompletion() {
|
|
1769
|
+
this.tryTriggerAutocomplete(true);
|
|
1770
|
+
}
|
|
1771
|
+
/*
|
|
1772
|
+
https://github.com/EsotericSoftware/spine-runtimes/actions/runs/19536643416/job/559322883
|
|
1773
|
+
17 this job fails with https://github.com/EsotericSoftware/spine-runtimes/actions/runs/19
|
|
1774
|
+
536643416/job/55932288317 havea look at .gi
|
|
1775
|
+
*/
|
|
1776
|
+
forceFileAutocomplete(explicitTab = false) {
|
|
1777
|
+
if (!this.autocompleteProvider)
|
|
1778
|
+
return;
|
|
1779
|
+
// Check if provider supports force file suggestions via runtime check
|
|
1780
|
+
const provider = this.autocompleteProvider;
|
|
1781
|
+
if (typeof provider.getForceFileSuggestions !== "function") {
|
|
1782
|
+
this.tryTriggerAutocomplete(true);
|
|
1783
|
+
return;
|
|
1784
|
+
}
|
|
1785
|
+
const suggestions = provider.getForceFileSuggestions(this.state.lines, this.state.cursorLine, this.state.cursorCol);
|
|
1786
|
+
if (suggestions && suggestions.items.length > 0) {
|
|
1787
|
+
// If there's exactly one suggestion, apply it immediately
|
|
1788
|
+
if (explicitTab && suggestions.items.length === 1) {
|
|
1789
|
+
const item = suggestions.items[0];
|
|
1790
|
+
this.pushUndoSnapshot();
|
|
1791
|
+
this.lastAction = null;
|
|
1792
|
+
const result = this.autocompleteProvider.applyCompletion(this.state.lines, this.state.cursorLine, this.state.cursorCol, item, suggestions.prefix);
|
|
1793
|
+
this.state.lines = result.lines;
|
|
1794
|
+
this.state.cursorLine = result.cursorLine;
|
|
1795
|
+
this.setCursorCol(result.cursorCol);
|
|
1796
|
+
if (this.onChange)
|
|
1797
|
+
this.onChange(this.getText());
|
|
1798
|
+
return;
|
|
1799
|
+
}
|
|
1800
|
+
this.autocompletePrefix = suggestions.prefix;
|
|
1801
|
+
this.autocompleteList = this.createAutocompleteList(suggestions.prefix, suggestions.items);
|
|
1802
|
+
// If typed prefix exactly matches one of the suggestions, select that item
|
|
1803
|
+
const bestMatchIndex = this.getBestAutocompleteMatchIndex(suggestions.items, suggestions.prefix);
|
|
1804
|
+
if (bestMatchIndex >= 0) {
|
|
1805
|
+
this.autocompleteList.setSelectedIndex(bestMatchIndex);
|
|
1806
|
+
}
|
|
1807
|
+
this.autocompleteState = "force";
|
|
1808
|
+
}
|
|
1809
|
+
else {
|
|
1810
|
+
this.cancelAutocomplete();
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
cancelAutocomplete() {
|
|
1814
|
+
this.autocompleteState = null;
|
|
1815
|
+
this.autocompleteList = undefined;
|
|
1816
|
+
this.autocompletePrefix = "";
|
|
1817
|
+
}
|
|
1818
|
+
isShowingAutocomplete() {
|
|
1819
|
+
return this.autocompleteState !== null;
|
|
1820
|
+
}
|
|
1821
|
+
updateAutocomplete() {
|
|
1822
|
+
if (!this.autocompleteState || !this.autocompleteProvider)
|
|
1823
|
+
return;
|
|
1824
|
+
if (this.autocompleteState === "force") {
|
|
1825
|
+
this.forceFileAutocomplete();
|
|
1826
|
+
return;
|
|
1827
|
+
}
|
|
1828
|
+
const suggestions = this.autocompleteProvider.getSuggestions(this.state.lines, this.state.cursorLine, this.state.cursorCol);
|
|
1829
|
+
if (suggestions && suggestions.items.length > 0) {
|
|
1830
|
+
this.autocompletePrefix = suggestions.prefix;
|
|
1831
|
+
// Always create new SelectList to ensure update
|
|
1832
|
+
this.autocompleteList = this.createAutocompleteList(suggestions.prefix, suggestions.items);
|
|
1833
|
+
// If typed prefix exactly matches one of the suggestions, select that item
|
|
1834
|
+
const bestMatchIndex = this.getBestAutocompleteMatchIndex(suggestions.items, suggestions.prefix);
|
|
1835
|
+
if (bestMatchIndex >= 0) {
|
|
1836
|
+
this.autocompleteList.setSelectedIndex(bestMatchIndex);
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
else {
|
|
1840
|
+
this.cancelAutocomplete();
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
}
|
|
1844
|
+
//# sourceMappingURL=editor.js.map
|