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,2034 @@
|
|
|
1
|
+
> pi can create extensions. Ask it to build one for your use case.
|
|
2
|
+
|
|
3
|
+
# Extensions
|
|
4
|
+
|
|
5
|
+
Extensions are TypeScript modules that extend pi's behavior. They can subscribe to lifecycle events, register custom tools callable by the LLM, add commands, and more.
|
|
6
|
+
|
|
7
|
+
> **Placement for /reload:** Put extensions in `~/.pi/agent/extensions/` (global) or `.pi/extensions/` (project-local) for auto-discovery. Use `pi -e ./path.ts` only for quick tests. Extensions in auto-discovered locations can be hot-reloaded with `/reload`.
|
|
8
|
+
|
|
9
|
+
**Key capabilities:**
|
|
10
|
+
- **Custom tools** - Register tools the LLM can call via `pi.registerTool()`
|
|
11
|
+
- **Event interception** - Block or modify tool calls, inject context, customize compaction
|
|
12
|
+
- **User interaction** - Prompt users via `ctx.ui` (select, confirm, input, notify)
|
|
13
|
+
- **Custom UI components** - Full TUI components with keyboard input via `ctx.ui.custom()` for complex interactions
|
|
14
|
+
- **Custom commands** - Register commands like `/mycommand` via `pi.registerCommand()`
|
|
15
|
+
- **Session persistence** - Store state that survives restarts via `pi.appendEntry()`
|
|
16
|
+
- **Custom rendering** - Control how tool calls/results and messages appear in TUI
|
|
17
|
+
|
|
18
|
+
**Example use cases:**
|
|
19
|
+
- Permission gates (confirm before `rm -rf`, `sudo`, etc.)
|
|
20
|
+
- Git checkpointing (stash at each turn, restore on branch)
|
|
21
|
+
- Path protection (block writes to `.env`, `node_modules/`)
|
|
22
|
+
- Custom compaction (summarize conversation your way)
|
|
23
|
+
- Conversation summaries (see `summarize.ts` example)
|
|
24
|
+
- Interactive tools (questions, wizards, custom dialogs)
|
|
25
|
+
- Stateful tools (todo lists, connection pools)
|
|
26
|
+
- External integrations (file watchers, webhooks, CI triggers)
|
|
27
|
+
- Games while you wait (see `snake.ts` example)
|
|
28
|
+
|
|
29
|
+
See [examples/extensions/](../examples/extensions/) for working implementations.
|
|
30
|
+
|
|
31
|
+
## Table of Contents
|
|
32
|
+
|
|
33
|
+
- [Quick Start](#quick-start)
|
|
34
|
+
- [Extension Locations](#extension-locations)
|
|
35
|
+
- [Available Imports](#available-imports)
|
|
36
|
+
- [Writing an Extension](#writing-an-extension)
|
|
37
|
+
- [Extension Styles](#extension-styles)
|
|
38
|
+
- [Events](#events)
|
|
39
|
+
- [Lifecycle Overview](#lifecycle-overview)
|
|
40
|
+
- [Session Events](#session-events)
|
|
41
|
+
- [Agent Events](#agent-events)
|
|
42
|
+
- [Tool Events](#tool-events)
|
|
43
|
+
- [ExtensionContext](#extensioncontext)
|
|
44
|
+
- [ExtensionCommandContext](#extensioncommandcontext)
|
|
45
|
+
- [ExtensionAPI Methods](#extensionapi-methods)
|
|
46
|
+
- [State Management](#state-management)
|
|
47
|
+
- [Custom Tools](#custom-tools)
|
|
48
|
+
- [Custom UI](#custom-ui)
|
|
49
|
+
- [Error Handling](#error-handling)
|
|
50
|
+
- [Mode Behavior](#mode-behavior)
|
|
51
|
+
- [Examples Reference](#examples-reference)
|
|
52
|
+
|
|
53
|
+
## Quick Start
|
|
54
|
+
|
|
55
|
+
Create `~/.pi/agent/extensions/my-extension.ts`:
|
|
56
|
+
|
|
57
|
+
```typescript
|
|
58
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
59
|
+
import { Type } from "@sinclair/typebox";
|
|
60
|
+
|
|
61
|
+
export default function (pi: ExtensionAPI) {
|
|
62
|
+
// React to events
|
|
63
|
+
pi.on("session_start", async (_event, ctx) => {
|
|
64
|
+
ctx.ui.notify("Extension loaded!", "info");
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
pi.on("tool_call", async (event, ctx) => {
|
|
68
|
+
if (event.toolName === "bash" && event.input.command?.includes("rm -rf")) {
|
|
69
|
+
const ok = await ctx.ui.confirm("Dangerous!", "Allow rm -rf?");
|
|
70
|
+
if (!ok) return { block: true, reason: "Blocked by user" };
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
// Register a custom tool
|
|
75
|
+
pi.registerTool({
|
|
76
|
+
name: "greet",
|
|
77
|
+
label: "Greet",
|
|
78
|
+
description: "Greet someone by name",
|
|
79
|
+
parameters: Type.Object({
|
|
80
|
+
name: Type.String({ description: "Name to greet" }),
|
|
81
|
+
}),
|
|
82
|
+
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
|
83
|
+
return {
|
|
84
|
+
content: [{ type: "text", text: `Hello, ${params.name}!` }],
|
|
85
|
+
details: {},
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
// Register a command
|
|
91
|
+
pi.registerCommand("hello", {
|
|
92
|
+
description: "Say hello",
|
|
93
|
+
handler: async (args, ctx) => {
|
|
94
|
+
ctx.ui.notify(`Hello ${args || "world"}!`, "info");
|
|
95
|
+
},
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Test with `--extension` (or `-e`) flag:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
pi -e ./my-extension.ts
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Extension Locations
|
|
107
|
+
|
|
108
|
+
> **Security:** Extensions run with your full system permissions and can execute arbitrary code. Only install from sources you trust.
|
|
109
|
+
|
|
110
|
+
Extensions are auto-discovered from:
|
|
111
|
+
|
|
112
|
+
| Location | Scope |
|
|
113
|
+
|----------|-------|
|
|
114
|
+
| `~/.pi/agent/extensions/*.ts` | Global (all projects) |
|
|
115
|
+
| `~/.pi/agent/extensions/*/index.ts` | Global (subdirectory) |
|
|
116
|
+
| `.pi/extensions/*.ts` | Project-local |
|
|
117
|
+
| `.pi/extensions/*/index.ts` | Project-local (subdirectory) |
|
|
118
|
+
|
|
119
|
+
Additional paths via `settings.json`:
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"packages": [
|
|
124
|
+
"npm:@foo/bar@1.0.0",
|
|
125
|
+
"git:github.com/user/repo@v1"
|
|
126
|
+
],
|
|
127
|
+
"extensions": [
|
|
128
|
+
"/path/to/local/extension.ts",
|
|
129
|
+
"/path/to/local/extension/dir"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
To share extensions via npm or git as pi packages, see [packages.md](packages.md).
|
|
135
|
+
|
|
136
|
+
## Available Imports
|
|
137
|
+
|
|
138
|
+
| Package | Purpose |
|
|
139
|
+
|---------|---------|
|
|
140
|
+
| `@mariozechner/pi-coding-agent` | Extension types (`ExtensionAPI`, `ExtensionContext`, events) |
|
|
141
|
+
| `@sinclair/typebox` | Schema definitions for tool parameters |
|
|
142
|
+
| `@mariozechner/pi-ai` | AI utilities (`StringEnum` for Google-compatible enums) |
|
|
143
|
+
| `@mariozechner/pi-tui` | TUI components for custom rendering |
|
|
144
|
+
|
|
145
|
+
npm dependencies work too. Add a `package.json` next to your extension (or in a parent directory), run `npm install`, and imports from `node_modules/` are resolved automatically.
|
|
146
|
+
|
|
147
|
+
Node.js built-ins (`node:fs`, `node:path`, etc.) are also available.
|
|
148
|
+
|
|
149
|
+
## Writing an Extension
|
|
150
|
+
|
|
151
|
+
An extension exports a default function that receives `ExtensionAPI`:
|
|
152
|
+
|
|
153
|
+
```typescript
|
|
154
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
155
|
+
|
|
156
|
+
export default function (pi: ExtensionAPI) {
|
|
157
|
+
// Subscribe to events
|
|
158
|
+
pi.on("event_name", async (event, ctx) => {
|
|
159
|
+
// ctx.ui for user interaction
|
|
160
|
+
const ok = await ctx.ui.confirm("Title", "Are you sure?");
|
|
161
|
+
ctx.ui.notify("Done!", "success");
|
|
162
|
+
ctx.ui.setStatus("my-ext", "Processing..."); // Footer status
|
|
163
|
+
ctx.ui.setWidget("my-ext", ["Line 1", "Line 2"]); // Widget above editor (default)
|
|
164
|
+
});
|
|
165
|
+
|
|
166
|
+
// Register tools, commands, shortcuts, flags
|
|
167
|
+
pi.registerTool({ ... });
|
|
168
|
+
pi.registerCommand("name", { ... });
|
|
169
|
+
pi.registerShortcut("ctrl+x", { ... });
|
|
170
|
+
pi.registerFlag("my-flag", { ... });
|
|
171
|
+
}
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Extensions are loaded via [jiti](https://github.com/unjs/jiti), so TypeScript works without compilation.
|
|
175
|
+
|
|
176
|
+
### Extension Styles
|
|
177
|
+
|
|
178
|
+
**Single file** - simplest, for small extensions:
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
~/.pi/agent/extensions/
|
|
182
|
+
└── my-extension.ts
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
**Directory with index.ts** - for multi-file extensions:
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
~/.pi/agent/extensions/
|
|
189
|
+
└── my-extension/
|
|
190
|
+
├── index.ts # Entry point (exports default function)
|
|
191
|
+
├── tools.ts # Helper module
|
|
192
|
+
└── utils.ts # Helper module
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
**Package with dependencies** - for extensions that need npm packages:
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
~/.pi/agent/extensions/
|
|
199
|
+
└── my-extension/
|
|
200
|
+
├── package.json # Declares dependencies and entry points
|
|
201
|
+
├── package-lock.json
|
|
202
|
+
├── node_modules/ # After npm install
|
|
203
|
+
└── src/
|
|
204
|
+
└── index.ts
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
```json
|
|
208
|
+
// package.json
|
|
209
|
+
{
|
|
210
|
+
"name": "my-extension",
|
|
211
|
+
"dependencies": {
|
|
212
|
+
"zod": "^3.0.0",
|
|
213
|
+
"chalk": "^5.0.0"
|
|
214
|
+
},
|
|
215
|
+
"pi": {
|
|
216
|
+
"extensions": ["./src/index.ts"]
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
Run `npm install` in the extension directory, then imports from `node_modules/` work automatically.
|
|
222
|
+
|
|
223
|
+
## Events
|
|
224
|
+
|
|
225
|
+
### Lifecycle Overview
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
pi starts (CLI only)
|
|
229
|
+
│
|
|
230
|
+
├─► session_directory (CLI startup only, no ctx)
|
|
231
|
+
└─► session_start
|
|
232
|
+
│
|
|
233
|
+
▼
|
|
234
|
+
user sends prompt ─────────────────────────────────────────┐
|
|
235
|
+
│ │
|
|
236
|
+
├─► (extension commands checked first, bypass if found) │
|
|
237
|
+
├─► input (can intercept, transform, or handle) │
|
|
238
|
+
├─► (skill/template expansion if not handled) │
|
|
239
|
+
├─► before_agent_start (can inject message, modify system prompt)
|
|
240
|
+
├─► agent_start │
|
|
241
|
+
├─► message_start / message_update / message_end │
|
|
242
|
+
│ │
|
|
243
|
+
│ ┌─── turn (repeats while LLM calls tools) ───┐ │
|
|
244
|
+
│ │ │ │
|
|
245
|
+
│ ├─► turn_start │ │
|
|
246
|
+
│ ├─► context (can modify messages) │ │
|
|
247
|
+
│ ├─► before_provider_request (can inspect or replace payload)
|
|
248
|
+
│ │ │ │
|
|
249
|
+
│ │ LLM responds, may call tools: │ │
|
|
250
|
+
│ │ ├─► tool_execution_start │ │
|
|
251
|
+
│ │ ├─► tool_call (can block) │ │
|
|
252
|
+
│ │ ├─► tool_execution_update │ │
|
|
253
|
+
│ │ ├─► tool_result (can modify) │ │
|
|
254
|
+
│ │ └─► tool_execution_end │ │
|
|
255
|
+
│ │ │ │
|
|
256
|
+
│ └─► turn_end │ │
|
|
257
|
+
│ │
|
|
258
|
+
└─► agent_end │
|
|
259
|
+
│
|
|
260
|
+
user sends another prompt ◄────────────────────────────────┘
|
|
261
|
+
|
|
262
|
+
/new (new session) or /resume (switch session)
|
|
263
|
+
├─► session_before_switch (can cancel)
|
|
264
|
+
└─► session_switch
|
|
265
|
+
|
|
266
|
+
/fork
|
|
267
|
+
├─► session_before_fork (can cancel)
|
|
268
|
+
└─► session_fork
|
|
269
|
+
|
|
270
|
+
/compact or auto-compaction
|
|
271
|
+
├─► session_before_compact (can cancel or customize)
|
|
272
|
+
└─► session_compact
|
|
273
|
+
|
|
274
|
+
/tree navigation
|
|
275
|
+
├─► session_before_tree (can cancel or customize)
|
|
276
|
+
└─► session_tree
|
|
277
|
+
|
|
278
|
+
/model or Ctrl+P (model selection/cycling)
|
|
279
|
+
└─► model_select
|
|
280
|
+
|
|
281
|
+
exit (Ctrl+C, Ctrl+D)
|
|
282
|
+
└─► session_shutdown
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Session Events
|
|
286
|
+
|
|
287
|
+
See [session.md](session.md) for session storage internals and the SessionManager API.
|
|
288
|
+
|
|
289
|
+
#### session_directory
|
|
290
|
+
|
|
291
|
+
Fired by the `pi` CLI during startup session resolution, before the initial session manager is created.
|
|
292
|
+
|
|
293
|
+
This event is:
|
|
294
|
+
- CLI-only. It is not emitted in SDK mode.
|
|
295
|
+
- Startup-only. It is not emitted for later interactive `/new` or `/resume` actions.
|
|
296
|
+
- Bypassed when `--session-dir` is provided.
|
|
297
|
+
- Special-cased to receive no `ctx` argument.
|
|
298
|
+
|
|
299
|
+
If multiple extensions return `sessionDir`, the last one wins.
|
|
300
|
+
|
|
301
|
+
```typescript
|
|
302
|
+
pi.on("session_directory", async (event) => {
|
|
303
|
+
return {
|
|
304
|
+
sessionDir: `/tmp/pi-sessions/${encodeURIComponent(event.cwd)}`,
|
|
305
|
+
};
|
|
306
|
+
});
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
#### session_start
|
|
310
|
+
|
|
311
|
+
Fired on initial session load.
|
|
312
|
+
|
|
313
|
+
```typescript
|
|
314
|
+
pi.on("session_start", async (_event, ctx) => {
|
|
315
|
+
ctx.ui.notify(`Session: ${ctx.sessionManager.getSessionFile() ?? "ephemeral"}`, "info");
|
|
316
|
+
});
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
#### session_before_switch / session_switch
|
|
320
|
+
|
|
321
|
+
Fired when starting a new session (`/new`) or switching sessions (`/resume`).
|
|
322
|
+
|
|
323
|
+
```typescript
|
|
324
|
+
pi.on("session_before_switch", async (event, ctx) => {
|
|
325
|
+
// event.reason - "new" or "resume"
|
|
326
|
+
// event.targetSessionFile - session we're switching to (only for "resume")
|
|
327
|
+
|
|
328
|
+
if (event.reason === "new") {
|
|
329
|
+
const ok = await ctx.ui.confirm("Clear?", "Delete all messages?");
|
|
330
|
+
if (!ok) return { cancel: true };
|
|
331
|
+
}
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
pi.on("session_switch", async (event, ctx) => {
|
|
335
|
+
// event.reason - "new" or "resume"
|
|
336
|
+
// event.previousSessionFile - session we came from
|
|
337
|
+
});
|
|
338
|
+
```
|
|
339
|
+
|
|
340
|
+
#### session_before_fork / session_fork
|
|
341
|
+
|
|
342
|
+
Fired when forking via `/fork`.
|
|
343
|
+
|
|
344
|
+
```typescript
|
|
345
|
+
pi.on("session_before_fork", async (event, ctx) => {
|
|
346
|
+
// event.entryId - ID of the entry being forked from
|
|
347
|
+
return { cancel: true }; // Cancel fork
|
|
348
|
+
// OR
|
|
349
|
+
return { skipConversationRestore: true }; // Fork but don't rewind messages
|
|
350
|
+
});
|
|
351
|
+
|
|
352
|
+
pi.on("session_fork", async (event, ctx) => {
|
|
353
|
+
// event.previousSessionFile - previous session file
|
|
354
|
+
});
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
#### session_before_compact / session_compact
|
|
358
|
+
|
|
359
|
+
Fired on compaction. See [compaction.md](compaction.md) for details.
|
|
360
|
+
|
|
361
|
+
```typescript
|
|
362
|
+
pi.on("session_before_compact", async (event, ctx) => {
|
|
363
|
+
const { preparation, branchEntries, customInstructions, signal } = event;
|
|
364
|
+
|
|
365
|
+
// Cancel:
|
|
366
|
+
return { cancel: true };
|
|
367
|
+
|
|
368
|
+
// Custom summary:
|
|
369
|
+
return {
|
|
370
|
+
compaction: {
|
|
371
|
+
summary: "...",
|
|
372
|
+
firstKeptEntryId: preparation.firstKeptEntryId,
|
|
373
|
+
tokensBefore: preparation.tokensBefore,
|
|
374
|
+
}
|
|
375
|
+
};
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
pi.on("session_compact", async (event, ctx) => {
|
|
379
|
+
// event.compactionEntry - the saved compaction
|
|
380
|
+
// event.fromExtension - whether extension provided it
|
|
381
|
+
});
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
#### session_before_tree / session_tree
|
|
385
|
+
|
|
386
|
+
Fired on `/tree` navigation. See [tree.md](tree.md) for tree navigation concepts.
|
|
387
|
+
|
|
388
|
+
```typescript
|
|
389
|
+
pi.on("session_before_tree", async (event, ctx) => {
|
|
390
|
+
const { preparation, signal } = event;
|
|
391
|
+
return { cancel: true };
|
|
392
|
+
// OR provide custom summary:
|
|
393
|
+
return { summary: { summary: "...", details: {} } };
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
pi.on("session_tree", async (event, ctx) => {
|
|
397
|
+
// event.newLeafId, oldLeafId, summaryEntry, fromExtension
|
|
398
|
+
});
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
#### session_shutdown
|
|
402
|
+
|
|
403
|
+
Fired on exit (Ctrl+C, Ctrl+D, SIGTERM).
|
|
404
|
+
|
|
405
|
+
```typescript
|
|
406
|
+
pi.on("session_shutdown", async (_event, ctx) => {
|
|
407
|
+
// Cleanup, save state, etc.
|
|
408
|
+
});
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
### Agent Events
|
|
412
|
+
|
|
413
|
+
#### before_agent_start
|
|
414
|
+
|
|
415
|
+
Fired after user submits prompt, before agent loop. Can inject a message and/or modify the system prompt.
|
|
416
|
+
|
|
417
|
+
```typescript
|
|
418
|
+
pi.on("before_agent_start", async (event, ctx) => {
|
|
419
|
+
// event.prompt - user's prompt text
|
|
420
|
+
// event.images - attached images (if any)
|
|
421
|
+
// event.systemPrompt - current system prompt
|
|
422
|
+
|
|
423
|
+
return {
|
|
424
|
+
// Inject a persistent message (stored in session, sent to LLM)
|
|
425
|
+
message: {
|
|
426
|
+
customType: "my-extension",
|
|
427
|
+
content: "Additional context for the LLM",
|
|
428
|
+
display: true,
|
|
429
|
+
},
|
|
430
|
+
// Replace the system prompt for this turn (chained across extensions)
|
|
431
|
+
systemPrompt: event.systemPrompt + "\n\nExtra instructions for this turn...",
|
|
432
|
+
};
|
|
433
|
+
});
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
#### agent_start / agent_end
|
|
437
|
+
|
|
438
|
+
Fired once per user prompt.
|
|
439
|
+
|
|
440
|
+
```typescript
|
|
441
|
+
pi.on("agent_start", async (_event, ctx) => {});
|
|
442
|
+
|
|
443
|
+
pi.on("agent_end", async (event, ctx) => {
|
|
444
|
+
// event.messages - messages from this prompt
|
|
445
|
+
});
|
|
446
|
+
```
|
|
447
|
+
|
|
448
|
+
#### turn_start / turn_end
|
|
449
|
+
|
|
450
|
+
Fired for each turn (one LLM response + tool calls).
|
|
451
|
+
|
|
452
|
+
```typescript
|
|
453
|
+
pi.on("turn_start", async (event, ctx) => {
|
|
454
|
+
// event.turnIndex, event.timestamp
|
|
455
|
+
});
|
|
456
|
+
|
|
457
|
+
pi.on("turn_end", async (event, ctx) => {
|
|
458
|
+
// event.turnIndex, event.message, event.toolResults
|
|
459
|
+
});
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
#### message_start / message_update / message_end
|
|
463
|
+
|
|
464
|
+
Fired for message lifecycle updates.
|
|
465
|
+
|
|
466
|
+
- `message_start` and `message_end` fire for user, assistant, and toolResult messages.
|
|
467
|
+
- `message_update` fires for assistant streaming updates.
|
|
468
|
+
|
|
469
|
+
```typescript
|
|
470
|
+
pi.on("message_start", async (event, ctx) => {
|
|
471
|
+
// event.message
|
|
472
|
+
});
|
|
473
|
+
|
|
474
|
+
pi.on("message_update", async (event, ctx) => {
|
|
475
|
+
// event.message
|
|
476
|
+
// event.assistantMessageEvent (token-by-token stream event)
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
pi.on("message_end", async (event, ctx) => {
|
|
480
|
+
// event.message
|
|
481
|
+
});
|
|
482
|
+
```
|
|
483
|
+
|
|
484
|
+
#### tool_execution_start / tool_execution_update / tool_execution_end
|
|
485
|
+
|
|
486
|
+
Fired for tool execution lifecycle updates.
|
|
487
|
+
|
|
488
|
+
In parallel tool mode:
|
|
489
|
+
- `tool_execution_start` is emitted in assistant source order during the preflight phase
|
|
490
|
+
- `tool_execution_update` events may interleave across tools
|
|
491
|
+
- `tool_execution_end` is emitted in assistant source order, matching final tool result message order
|
|
492
|
+
|
|
493
|
+
```typescript
|
|
494
|
+
pi.on("tool_execution_start", async (event, ctx) => {
|
|
495
|
+
// event.toolCallId, event.toolName, event.args
|
|
496
|
+
});
|
|
497
|
+
|
|
498
|
+
pi.on("tool_execution_update", async (event, ctx) => {
|
|
499
|
+
// event.toolCallId, event.toolName, event.args, event.partialResult
|
|
500
|
+
});
|
|
501
|
+
|
|
502
|
+
pi.on("tool_execution_end", async (event, ctx) => {
|
|
503
|
+
// event.toolCallId, event.toolName, event.result, event.isError
|
|
504
|
+
});
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
#### context
|
|
508
|
+
|
|
509
|
+
Fired before each LLM call. Modify messages non-destructively. See [session.md](session.md) for message types.
|
|
510
|
+
|
|
511
|
+
```typescript
|
|
512
|
+
pi.on("context", async (event, ctx) => {
|
|
513
|
+
// event.messages - deep copy, safe to modify
|
|
514
|
+
const filtered = event.messages.filter(m => !shouldPrune(m));
|
|
515
|
+
return { messages: filtered };
|
|
516
|
+
});
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
#### before_provider_request
|
|
520
|
+
|
|
521
|
+
Fired after the provider-specific payload is built, right before the request is sent. Handlers run in extension load order. Returning `undefined` keeps the payload unchanged. Returning any other value replaces the payload for later handlers and for the actual request.
|
|
522
|
+
|
|
523
|
+
```typescript
|
|
524
|
+
pi.on("before_provider_request", (event, ctx) => {
|
|
525
|
+
console.log(JSON.stringify(event.payload, null, 2));
|
|
526
|
+
|
|
527
|
+
// Optional: replace payload
|
|
528
|
+
// return { ...event.payload, temperature: 0 };
|
|
529
|
+
});
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
This is mainly useful for debugging provider serialization and cache behavior.
|
|
533
|
+
|
|
534
|
+
### Model Events
|
|
535
|
+
|
|
536
|
+
#### model_select
|
|
537
|
+
|
|
538
|
+
Fired when the model changes via `/model` command, model cycling (`Ctrl+P`), or session restore.
|
|
539
|
+
|
|
540
|
+
```typescript
|
|
541
|
+
pi.on("model_select", async (event, ctx) => {
|
|
542
|
+
// event.model - newly selected model
|
|
543
|
+
// event.previousModel - previous model (undefined if first selection)
|
|
544
|
+
// event.source - "set" | "cycle" | "restore"
|
|
545
|
+
|
|
546
|
+
const prev = event.previousModel
|
|
547
|
+
? `${event.previousModel.provider}/${event.previousModel.id}`
|
|
548
|
+
: "none";
|
|
549
|
+
const next = `${event.model.provider}/${event.model.id}`;
|
|
550
|
+
|
|
551
|
+
ctx.ui.notify(`Model changed (${event.source}): ${prev} -> ${next}`, "info");
|
|
552
|
+
});
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
Use this to update UI elements (status bars, footers) or perform model-specific initialization when the active model changes.
|
|
556
|
+
|
|
557
|
+
### Tool Events
|
|
558
|
+
|
|
559
|
+
#### tool_call
|
|
560
|
+
|
|
561
|
+
Fired after `tool_execution_start`, before the tool executes. **Can block.** Use `isToolCallEventType` to narrow and get typed inputs.
|
|
562
|
+
|
|
563
|
+
Before `tool_call` runs, pi waits for previously emitted Agent events to finish draining through `AgentSession`. This means `ctx.sessionManager` is up to date through the current assistant tool-calling message.
|
|
564
|
+
|
|
565
|
+
In the default parallel tool execution mode, sibling tool calls from the same assistant message are preflighted sequentially, then executed concurrently. `tool_call` is not guaranteed to see sibling tool results from that same assistant message in `ctx.sessionManager`.
|
|
566
|
+
|
|
567
|
+
```typescript
|
|
568
|
+
import { isToolCallEventType } from "@mariozechner/pi-coding-agent";
|
|
569
|
+
|
|
570
|
+
pi.on("tool_call", async (event, ctx) => {
|
|
571
|
+
// event.toolName - "bash", "read", "write", "edit", etc.
|
|
572
|
+
// event.toolCallId
|
|
573
|
+
// event.input - tool parameters
|
|
574
|
+
|
|
575
|
+
// Built-in tools: no type params needed
|
|
576
|
+
if (isToolCallEventType("bash", event)) {
|
|
577
|
+
// event.input is { command: string; timeout?: number }
|
|
578
|
+
if (event.input.command.includes("rm -rf")) {
|
|
579
|
+
return { block: true, reason: "Dangerous command" };
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
if (isToolCallEventType("read", event)) {
|
|
584
|
+
// event.input is { path: string; offset?: number; limit?: number }
|
|
585
|
+
console.log(`Reading: ${event.input.path}`);
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
#### Typing custom tool input
|
|
591
|
+
|
|
592
|
+
Custom tools should export their input type:
|
|
593
|
+
|
|
594
|
+
```typescript
|
|
595
|
+
// my-extension.ts
|
|
596
|
+
export type MyToolInput = Static<typeof myToolSchema>;
|
|
597
|
+
```
|
|
598
|
+
|
|
599
|
+
Use `isToolCallEventType` with explicit type parameters:
|
|
600
|
+
|
|
601
|
+
```typescript
|
|
602
|
+
import { isToolCallEventType } from "@mariozechner/pi-coding-agent";
|
|
603
|
+
import type { MyToolInput } from "my-extension";
|
|
604
|
+
|
|
605
|
+
pi.on("tool_call", (event) => {
|
|
606
|
+
if (isToolCallEventType<"my_tool", MyToolInput>("my_tool", event)) {
|
|
607
|
+
event.input.action; // typed
|
|
608
|
+
}
|
|
609
|
+
});
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
#### tool_result
|
|
613
|
+
|
|
614
|
+
Fired after tool execution finishes and before `tool_execution_end` plus the final tool result message events are emitted. **Can modify result.**
|
|
615
|
+
|
|
616
|
+
`tool_result` handlers chain like middleware:
|
|
617
|
+
- Handlers run in extension load order
|
|
618
|
+
- Each handler sees the latest result after previous handler changes
|
|
619
|
+
- Handlers can return partial patches (`content`, `details`, or `isError`); omitted fields keep their current values
|
|
620
|
+
|
|
621
|
+
```typescript
|
|
622
|
+
import { isBashToolResult } from "@mariozechner/pi-coding-agent";
|
|
623
|
+
|
|
624
|
+
pi.on("tool_result", async (event, ctx) => {
|
|
625
|
+
// event.toolName, event.toolCallId, event.input
|
|
626
|
+
// event.content, event.details, event.isError
|
|
627
|
+
|
|
628
|
+
if (isBashToolResult(event)) {
|
|
629
|
+
// event.details is typed as BashToolDetails
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// Modify result:
|
|
633
|
+
return { content: [...], details: {...}, isError: false };
|
|
634
|
+
});
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
### User Bash Events
|
|
638
|
+
|
|
639
|
+
#### user_bash
|
|
640
|
+
|
|
641
|
+
Fired when user executes `!` or `!!` commands. **Can intercept.**
|
|
642
|
+
|
|
643
|
+
```typescript
|
|
644
|
+
pi.on("user_bash", (event, ctx) => {
|
|
645
|
+
// event.command - the bash command
|
|
646
|
+
// event.excludeFromContext - true if !! prefix
|
|
647
|
+
// event.cwd - working directory
|
|
648
|
+
|
|
649
|
+
// Option 1: Provide custom operations (e.g., SSH)
|
|
650
|
+
return { operations: remoteBashOps };
|
|
651
|
+
|
|
652
|
+
// Option 2: Full replacement - return result directly
|
|
653
|
+
return { result: { output: "...", exitCode: 0, cancelled: false, truncated: false } };
|
|
654
|
+
});
|
|
655
|
+
```
|
|
656
|
+
|
|
657
|
+
### Input Events
|
|
658
|
+
|
|
659
|
+
#### input
|
|
660
|
+
|
|
661
|
+
Fired when user input is received, after extension commands are checked but before skill and template expansion. The event sees the raw input text, so `/skill:foo` and `/template` are not yet expanded.
|
|
662
|
+
|
|
663
|
+
**Processing order:**
|
|
664
|
+
1. Extension commands (`/cmd`) checked first - if found, handler runs and input event is skipped
|
|
665
|
+
2. `input` event fires - can intercept, transform, or handle
|
|
666
|
+
3. If not handled: skill commands (`/skill:name`) expanded to skill content
|
|
667
|
+
4. If not handled: prompt templates (`/template`) expanded to template content
|
|
668
|
+
5. Agent processing begins (`before_agent_start`, etc.)
|
|
669
|
+
|
|
670
|
+
```typescript
|
|
671
|
+
pi.on("input", async (event, ctx) => {
|
|
672
|
+
// event.text - raw input (before skill/template expansion)
|
|
673
|
+
// event.images - attached images, if any
|
|
674
|
+
// event.source - "interactive" (typed), "rpc" (API), or "extension" (via sendUserMessage)
|
|
675
|
+
|
|
676
|
+
// Transform: rewrite input before expansion
|
|
677
|
+
if (event.text.startsWith("?quick "))
|
|
678
|
+
return { action: "transform", text: `Respond briefly: ${event.text.slice(7)}` };
|
|
679
|
+
|
|
680
|
+
// Handle: respond without LLM (extension shows its own feedback)
|
|
681
|
+
if (event.text === "ping") {
|
|
682
|
+
ctx.ui.notify("pong", "info");
|
|
683
|
+
return { action: "handled" };
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
// Route by source: skip processing for extension-injected messages
|
|
687
|
+
if (event.source === "extension") return { action: "continue" };
|
|
688
|
+
|
|
689
|
+
// Intercept skill commands before expansion
|
|
690
|
+
if (event.text.startsWith("/skill:")) {
|
|
691
|
+
// Could transform, block, or let pass through
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
return { action: "continue" }; // Default: pass through to expansion
|
|
695
|
+
});
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
**Results:**
|
|
699
|
+
- `continue` - pass through unchanged (default if handler returns nothing)
|
|
700
|
+
- `transform` - modify text/images, then continue to expansion
|
|
701
|
+
- `handled` - skip agent entirely (first handler to return this wins)
|
|
702
|
+
|
|
703
|
+
Transforms chain across handlers. See [input-transform.ts](../examples/extensions/input-transform.ts).
|
|
704
|
+
|
|
705
|
+
## ExtensionContext
|
|
706
|
+
|
|
707
|
+
All handlers except `session_directory` receive `ctx: ExtensionContext`.
|
|
708
|
+
|
|
709
|
+
`session_directory` is a CLI startup hook and receives only the event.
|
|
710
|
+
|
|
711
|
+
### ctx.ui
|
|
712
|
+
|
|
713
|
+
UI methods for user interaction. See [Custom UI](#custom-ui) for full details.
|
|
714
|
+
|
|
715
|
+
### ctx.hasUI
|
|
716
|
+
|
|
717
|
+
`false` in print mode (`-p`) and JSON mode. `true` in interactive and RPC mode. In RPC mode, dialog methods (`select`, `confirm`, `input`, `editor`) work via the extension UI sub-protocol, and fire-and-forget methods (`notify`, `setStatus`, `setWidget`, `setTitle`, `setEditorText`) emit requests to the client. Some TUI-specific methods are no-ops or return defaults (see [rpc.md](rpc.md#extension-ui-protocol)).
|
|
718
|
+
|
|
719
|
+
### ctx.cwd
|
|
720
|
+
|
|
721
|
+
Current working directory.
|
|
722
|
+
|
|
723
|
+
### ctx.sessionManager
|
|
724
|
+
|
|
725
|
+
Read-only access to session state. See [session.md](session.md) for the full SessionManager API and entry types.
|
|
726
|
+
|
|
727
|
+
For `tool_call`, this state is synchronized through the current assistant message before handlers run. In parallel tool execution mode it is still not guaranteed to include sibling tool results from the same assistant message.
|
|
728
|
+
|
|
729
|
+
```typescript
|
|
730
|
+
ctx.sessionManager.getEntries() // All entries
|
|
731
|
+
ctx.sessionManager.getBranch() // Current branch
|
|
732
|
+
ctx.sessionManager.getLeafId() // Current leaf entry ID
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
### ctx.modelRegistry / ctx.model
|
|
736
|
+
|
|
737
|
+
Access to models and API keys.
|
|
738
|
+
|
|
739
|
+
### ctx.isIdle() / ctx.abort() / ctx.hasPendingMessages()
|
|
740
|
+
|
|
741
|
+
Control flow helpers.
|
|
742
|
+
|
|
743
|
+
### ctx.shutdown()
|
|
744
|
+
|
|
745
|
+
Request a graceful shutdown of pi.
|
|
746
|
+
|
|
747
|
+
- **Interactive mode:** Deferred until the agent becomes idle (after processing all queued steering and follow-up messages).
|
|
748
|
+
- **RPC mode:** Deferred until the next idle state (after completing the current command response, when waiting for the next command).
|
|
749
|
+
- **Print mode:** No-op. The process exits automatically when all prompts are processed.
|
|
750
|
+
|
|
751
|
+
Emits `session_shutdown` event to all extensions before exiting. Available in all contexts (event handlers, tools, commands, shortcuts).
|
|
752
|
+
|
|
753
|
+
```typescript
|
|
754
|
+
pi.on("tool_call", (event, ctx) => {
|
|
755
|
+
if (isFatal(event.input)) {
|
|
756
|
+
ctx.shutdown();
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
```
|
|
760
|
+
|
|
761
|
+
### ctx.getContextUsage()
|
|
762
|
+
|
|
763
|
+
Returns current context usage for the active model. Uses last assistant usage when available, then estimates tokens for trailing messages.
|
|
764
|
+
|
|
765
|
+
```typescript
|
|
766
|
+
const usage = ctx.getContextUsage();
|
|
767
|
+
if (usage && usage.tokens > 100_000) {
|
|
768
|
+
// ...
|
|
769
|
+
}
|
|
770
|
+
```
|
|
771
|
+
|
|
772
|
+
### ctx.compact()
|
|
773
|
+
|
|
774
|
+
Trigger compaction without awaiting completion. Use `onComplete` and `onError` for follow-up actions.
|
|
775
|
+
|
|
776
|
+
```typescript
|
|
777
|
+
ctx.compact({
|
|
778
|
+
customInstructions: "Focus on recent changes",
|
|
779
|
+
onComplete: (result) => {
|
|
780
|
+
ctx.ui.notify("Compaction completed", "info");
|
|
781
|
+
},
|
|
782
|
+
onError: (error) => {
|
|
783
|
+
ctx.ui.notify(`Compaction failed: ${error.message}`, "error");
|
|
784
|
+
},
|
|
785
|
+
});
|
|
786
|
+
```
|
|
787
|
+
|
|
788
|
+
### ctx.getSystemPrompt()
|
|
789
|
+
|
|
790
|
+
Returns the current effective system prompt. This includes any modifications made by `before_agent_start` handlers for the current turn.
|
|
791
|
+
|
|
792
|
+
```typescript
|
|
793
|
+
pi.on("before_agent_start", (event, ctx) => {
|
|
794
|
+
const prompt = ctx.getSystemPrompt();
|
|
795
|
+
console.log(`System prompt length: ${prompt.length}`);
|
|
796
|
+
});
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
## ExtensionCommandContext
|
|
800
|
+
|
|
801
|
+
Command handlers receive `ExtensionCommandContext`, which extends `ExtensionContext` with session control methods. These are only available in commands because they can deadlock if called from event handlers.
|
|
802
|
+
|
|
803
|
+
### ctx.waitForIdle()
|
|
804
|
+
|
|
805
|
+
Wait for the agent to finish streaming:
|
|
806
|
+
|
|
807
|
+
```typescript
|
|
808
|
+
pi.registerCommand("my-cmd", {
|
|
809
|
+
handler: async (args, ctx) => {
|
|
810
|
+
await ctx.waitForIdle();
|
|
811
|
+
// Agent is now idle, safe to modify session
|
|
812
|
+
},
|
|
813
|
+
});
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
### ctx.newSession(options?)
|
|
817
|
+
|
|
818
|
+
Create a new session:
|
|
819
|
+
|
|
820
|
+
```typescript
|
|
821
|
+
const result = await ctx.newSession({
|
|
822
|
+
parentSession: ctx.sessionManager.getSessionFile(),
|
|
823
|
+
setup: async (sm) => {
|
|
824
|
+
sm.appendMessage({
|
|
825
|
+
role: "user",
|
|
826
|
+
content: [{ type: "text", text: "Context from previous session..." }],
|
|
827
|
+
timestamp: Date.now(),
|
|
828
|
+
});
|
|
829
|
+
},
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
if (result.cancelled) {
|
|
833
|
+
// An extension cancelled the new session
|
|
834
|
+
}
|
|
835
|
+
```
|
|
836
|
+
|
|
837
|
+
### ctx.fork(entryId)
|
|
838
|
+
|
|
839
|
+
Fork from a specific entry, creating a new session file:
|
|
840
|
+
|
|
841
|
+
```typescript
|
|
842
|
+
const result = await ctx.fork("entry-id-123");
|
|
843
|
+
if (!result.cancelled) {
|
|
844
|
+
// Now in the forked session
|
|
845
|
+
}
|
|
846
|
+
```
|
|
847
|
+
|
|
848
|
+
### ctx.navigateTree(targetId, options?)
|
|
849
|
+
|
|
850
|
+
Navigate to a different point in the session tree:
|
|
851
|
+
|
|
852
|
+
```typescript
|
|
853
|
+
const result = await ctx.navigateTree("entry-id-456", {
|
|
854
|
+
summarize: true,
|
|
855
|
+
customInstructions: "Focus on error handling changes",
|
|
856
|
+
replaceInstructions: false, // true = replace default prompt entirely
|
|
857
|
+
label: "review-checkpoint",
|
|
858
|
+
});
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
Options:
|
|
862
|
+
- `summarize`: Whether to generate a summary of the abandoned branch
|
|
863
|
+
- `customInstructions`: Custom instructions for the summarizer
|
|
864
|
+
- `replaceInstructions`: If true, `customInstructions` replaces the default prompt instead of being appended
|
|
865
|
+
- `label`: Label to attach to the branch summary entry (or target entry if not summarizing)
|
|
866
|
+
|
|
867
|
+
### ctx.reload()
|
|
868
|
+
|
|
869
|
+
Run the same reload flow as `/reload`.
|
|
870
|
+
|
|
871
|
+
```typescript
|
|
872
|
+
pi.registerCommand("reload-runtime", {
|
|
873
|
+
description: "Reload extensions, skills, prompts, and themes",
|
|
874
|
+
handler: async (_args, ctx) => {
|
|
875
|
+
await ctx.reload();
|
|
876
|
+
return;
|
|
877
|
+
},
|
|
878
|
+
});
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
Important behavior:
|
|
882
|
+
- `await ctx.reload()` emits `session_shutdown` for the current extension runtime
|
|
883
|
+
- It then reloads resources and emits `session_start` (and `resources_discover` with reason `"reload"`) for the new runtime
|
|
884
|
+
- The currently running command handler still continues in the old call frame
|
|
885
|
+
- Code after `await ctx.reload()` still runs from the pre-reload version
|
|
886
|
+
- Code after `await ctx.reload()` must not assume old in-memory extension state is still valid
|
|
887
|
+
- After the handler returns, future commands/events/tool calls use the new extension version
|
|
888
|
+
|
|
889
|
+
For predictable behavior, treat reload as terminal for that handler (`await ctx.reload(); return;`).
|
|
890
|
+
|
|
891
|
+
Tools run with `ExtensionContext`, so they cannot call `ctx.reload()` directly. Use a command as the reload entrypoint, then expose a tool that queues that command as a follow-up user message.
|
|
892
|
+
|
|
893
|
+
Example tool the LLM can call to trigger reload:
|
|
894
|
+
|
|
895
|
+
```typescript
|
|
896
|
+
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
897
|
+
import { Type } from "@sinclair/typebox";
|
|
898
|
+
|
|
899
|
+
export default function (pi: ExtensionAPI) {
|
|
900
|
+
pi.registerCommand("reload-runtime", {
|
|
901
|
+
description: "Reload extensions, skills, prompts, and themes",
|
|
902
|
+
handler: async (_args, ctx) => {
|
|
903
|
+
await ctx.reload();
|
|
904
|
+
return;
|
|
905
|
+
},
|
|
906
|
+
});
|
|
907
|
+
|
|
908
|
+
pi.registerTool({
|
|
909
|
+
name: "reload_runtime",
|
|
910
|
+
label: "Reload Runtime",
|
|
911
|
+
description: "Reload extensions, skills, prompts, and themes",
|
|
912
|
+
parameters: Type.Object({}),
|
|
913
|
+
async execute() {
|
|
914
|
+
pi.sendUserMessage("/reload-runtime", { deliverAs: "followUp" });
|
|
915
|
+
return {
|
|
916
|
+
content: [{ type: "text", text: "Queued /reload-runtime as a follow-up command." }],
|
|
917
|
+
};
|
|
918
|
+
},
|
|
919
|
+
});
|
|
920
|
+
}
|
|
921
|
+
```
|
|
922
|
+
|
|
923
|
+
## ExtensionAPI Methods
|
|
924
|
+
|
|
925
|
+
### pi.on(event, handler)
|
|
926
|
+
|
|
927
|
+
Subscribe to events. See [Events](#events) for event types and return values.
|
|
928
|
+
|
|
929
|
+
### pi.registerTool(definition)
|
|
930
|
+
|
|
931
|
+
Register a custom tool callable by the LLM. See [Custom Tools](#custom-tools) for full details.
|
|
932
|
+
|
|
933
|
+
`pi.registerTool()` works both during extension load and after startup. You can call it inside `session_start`, command handlers, or other event handlers. New tools are refreshed immediately in the same session, so they appear in `pi.getAllTools()` and are callable by the LLM without `/reload`.
|
|
934
|
+
|
|
935
|
+
Use `pi.setActiveTools()` to enable or disable tools (including dynamically added tools) at runtime.
|
|
936
|
+
|
|
937
|
+
Use `promptSnippet` to customize that tool's one-line entry in `Available tools`, and `promptGuidelines` to append tool-specific bullets to the default `Guidelines` section when the tool is active.
|
|
938
|
+
|
|
939
|
+
See [dynamic-tools.ts](../examples/extensions/dynamic-tools.ts) for a full example.
|
|
940
|
+
|
|
941
|
+
```typescript
|
|
942
|
+
import { Type } from "@sinclair/typebox";
|
|
943
|
+
import { StringEnum } from "@mariozechner/pi-ai";
|
|
944
|
+
|
|
945
|
+
pi.registerTool({
|
|
946
|
+
name: "my_tool",
|
|
947
|
+
label: "My Tool",
|
|
948
|
+
description: "What this tool does",
|
|
949
|
+
promptSnippet: "Summarize or transform text according to action",
|
|
950
|
+
promptGuidelines: ["Use this tool when the user asks to summarize previously generated text."],
|
|
951
|
+
parameters: Type.Object({
|
|
952
|
+
action: StringEnum(["list", "add"] as const),
|
|
953
|
+
text: Type.Optional(Type.String()),
|
|
954
|
+
}),
|
|
955
|
+
|
|
956
|
+
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
|
957
|
+
// Stream progress
|
|
958
|
+
onUpdate?.({ content: [{ type: "text", text: "Working..." }] });
|
|
959
|
+
|
|
960
|
+
return {
|
|
961
|
+
content: [{ type: "text", text: "Done" }],
|
|
962
|
+
details: { result: "..." },
|
|
963
|
+
};
|
|
964
|
+
},
|
|
965
|
+
|
|
966
|
+
// Optional: Custom rendering
|
|
967
|
+
renderCall(args, theme) { ... },
|
|
968
|
+
renderResult(result, options, theme) { ... },
|
|
969
|
+
});
|
|
970
|
+
```
|
|
971
|
+
|
|
972
|
+
### pi.sendMessage(message, options?)
|
|
973
|
+
|
|
974
|
+
Inject a custom message into the session.
|
|
975
|
+
|
|
976
|
+
```typescript
|
|
977
|
+
pi.sendMessage({
|
|
978
|
+
customType: "my-extension",
|
|
979
|
+
content: "Message text",
|
|
980
|
+
display: true,
|
|
981
|
+
details: { ... },
|
|
982
|
+
}, {
|
|
983
|
+
triggerTurn: true,
|
|
984
|
+
deliverAs: "steer",
|
|
985
|
+
});
|
|
986
|
+
```
|
|
987
|
+
|
|
988
|
+
**Options:**
|
|
989
|
+
- `deliverAs` - Delivery mode:
|
|
990
|
+
- `"steer"` (default) - Interrupts streaming. Delivered after current tool finishes, remaining tools skipped.
|
|
991
|
+
- `"followUp"` - Waits for agent to finish. Delivered only when agent has no more tool calls.
|
|
992
|
+
- `"nextTurn"` - Queued for next user prompt. Does not interrupt or trigger anything.
|
|
993
|
+
- `triggerTurn: true` - If agent is idle, trigger an LLM response immediately. Only applies to `"steer"` and `"followUp"` modes (ignored for `"nextTurn"`).
|
|
994
|
+
|
|
995
|
+
### pi.sendUserMessage(content, options?)
|
|
996
|
+
|
|
997
|
+
Send a user message to the agent. Unlike `sendMessage()` which sends custom messages, this sends an actual user message that appears as if typed by the user. Always triggers a turn.
|
|
998
|
+
|
|
999
|
+
```typescript
|
|
1000
|
+
// Simple text message
|
|
1001
|
+
pi.sendUserMessage("What is 2+2?");
|
|
1002
|
+
|
|
1003
|
+
// With content array (text + images)
|
|
1004
|
+
pi.sendUserMessage([
|
|
1005
|
+
{ type: "text", text: "Describe this image:" },
|
|
1006
|
+
{ type: "image", source: { type: "base64", mediaType: "image/png", data: "..." } },
|
|
1007
|
+
]);
|
|
1008
|
+
|
|
1009
|
+
// During streaming - must specify delivery mode
|
|
1010
|
+
pi.sendUserMessage("Focus on error handling", { deliverAs: "steer" });
|
|
1011
|
+
pi.sendUserMessage("And then summarize", { deliverAs: "followUp" });
|
|
1012
|
+
```
|
|
1013
|
+
|
|
1014
|
+
**Options:**
|
|
1015
|
+
- `deliverAs` - Required when agent is streaming:
|
|
1016
|
+
- `"steer"` - Interrupts after current tool, remaining tools skipped
|
|
1017
|
+
- `"followUp"` - Waits for agent to finish all tools
|
|
1018
|
+
|
|
1019
|
+
When not streaming, the message is sent immediately and triggers a new turn. When streaming without `deliverAs`, throws an error.
|
|
1020
|
+
|
|
1021
|
+
See [send-user-message.ts](../examples/extensions/send-user-message.ts) for a complete example.
|
|
1022
|
+
|
|
1023
|
+
### pi.appendEntry(customType, data?)
|
|
1024
|
+
|
|
1025
|
+
Persist extension state (does NOT participate in LLM context).
|
|
1026
|
+
|
|
1027
|
+
```typescript
|
|
1028
|
+
pi.appendEntry("my-state", { count: 42 });
|
|
1029
|
+
|
|
1030
|
+
// Restore on reload
|
|
1031
|
+
pi.on("session_start", async (_event, ctx) => {
|
|
1032
|
+
for (const entry of ctx.sessionManager.getEntries()) {
|
|
1033
|
+
if (entry.type === "custom" && entry.customType === "my-state") {
|
|
1034
|
+
// Reconstruct from entry.data
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1038
|
+
```
|
|
1039
|
+
|
|
1040
|
+
### pi.setSessionName(name)
|
|
1041
|
+
|
|
1042
|
+
Set the session display name (shown in session selector instead of first message).
|
|
1043
|
+
|
|
1044
|
+
```typescript
|
|
1045
|
+
pi.setSessionName("Refactor auth module");
|
|
1046
|
+
```
|
|
1047
|
+
|
|
1048
|
+
### pi.getSessionName()
|
|
1049
|
+
|
|
1050
|
+
Get the current session name, if set.
|
|
1051
|
+
|
|
1052
|
+
```typescript
|
|
1053
|
+
const name = pi.getSessionName();
|
|
1054
|
+
if (name) {
|
|
1055
|
+
console.log(`Session: ${name}`);
|
|
1056
|
+
}
|
|
1057
|
+
```
|
|
1058
|
+
|
|
1059
|
+
### pi.setLabel(entryId, label)
|
|
1060
|
+
|
|
1061
|
+
Set or clear a label on an entry. Labels are user-defined markers for bookmarking and navigation (shown in `/tree` selector).
|
|
1062
|
+
|
|
1063
|
+
```typescript
|
|
1064
|
+
// Set a label
|
|
1065
|
+
pi.setLabel(entryId, "checkpoint-before-refactor");
|
|
1066
|
+
|
|
1067
|
+
// Clear a label
|
|
1068
|
+
pi.setLabel(entryId, undefined);
|
|
1069
|
+
|
|
1070
|
+
// Read labels via sessionManager
|
|
1071
|
+
const label = ctx.sessionManager.getLabel(entryId);
|
|
1072
|
+
```
|
|
1073
|
+
|
|
1074
|
+
Labels persist in the session and survive restarts. Use them to mark important points (turns, checkpoints) in the conversation tree.
|
|
1075
|
+
|
|
1076
|
+
### pi.registerCommand(name, options)
|
|
1077
|
+
|
|
1078
|
+
Register a command.
|
|
1079
|
+
|
|
1080
|
+
```typescript
|
|
1081
|
+
pi.registerCommand("stats", {
|
|
1082
|
+
description: "Show session statistics",
|
|
1083
|
+
handler: async (args, ctx) => {
|
|
1084
|
+
const count = ctx.sessionManager.getEntries().length;
|
|
1085
|
+
ctx.ui.notify(`${count} entries`, "info");
|
|
1086
|
+
}
|
|
1087
|
+
});
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
Optional: add argument auto-completion for `/command ...`:
|
|
1091
|
+
|
|
1092
|
+
```typescript
|
|
1093
|
+
import type { AutocompleteItem } from "@mariozechner/pi-tui";
|
|
1094
|
+
|
|
1095
|
+
pi.registerCommand("deploy", {
|
|
1096
|
+
description: "Deploy to an environment",
|
|
1097
|
+
getArgumentCompletions: (prefix: string): AutocompleteItem[] | null => {
|
|
1098
|
+
const envs = ["dev", "staging", "prod"];
|
|
1099
|
+
const items = envs.map((e) => ({ value: e, label: e }));
|
|
1100
|
+
const filtered = items.filter((i) => i.value.startsWith(prefix));
|
|
1101
|
+
return filtered.length > 0 ? filtered : null;
|
|
1102
|
+
},
|
|
1103
|
+
handler: async (args, ctx) => {
|
|
1104
|
+
ctx.ui.notify(`Deploying: ${args}`, "info");
|
|
1105
|
+
},
|
|
1106
|
+
});
|
|
1107
|
+
```
|
|
1108
|
+
|
|
1109
|
+
### pi.getCommands()
|
|
1110
|
+
|
|
1111
|
+
Get the slash commands available for invocation via `prompt` in the current session. Includes extension commands, prompt templates, and skill commands.
|
|
1112
|
+
The list matches the RPC `get_commands` ordering: extensions first, then templates, then skills.
|
|
1113
|
+
|
|
1114
|
+
```typescript
|
|
1115
|
+
const commands = pi.getCommands();
|
|
1116
|
+
const bySource = commands.filter((command) => command.source === "extension");
|
|
1117
|
+
```
|
|
1118
|
+
|
|
1119
|
+
Each entry has this shape:
|
|
1120
|
+
|
|
1121
|
+
```typescript
|
|
1122
|
+
{
|
|
1123
|
+
name: string; // Command name without the leading slash
|
|
1124
|
+
description?: string;
|
|
1125
|
+
source: "extension" | "prompt" | "skill";
|
|
1126
|
+
location?: "user" | "project" | "path"; // For templates and skills
|
|
1127
|
+
path?: string; // Files backing templates, skills, and extensions
|
|
1128
|
+
}
|
|
1129
|
+
```
|
|
1130
|
+
|
|
1131
|
+
Built-in interactive commands (like `/model` and `/settings`) are not included here. They are handled only in interactive
|
|
1132
|
+
mode and would not execute if sent via `prompt`.
|
|
1133
|
+
|
|
1134
|
+
### pi.registerMessageRenderer(customType, renderer)
|
|
1135
|
+
|
|
1136
|
+
Register a custom TUI renderer for messages with your `customType`. See [Custom UI](#custom-ui).
|
|
1137
|
+
|
|
1138
|
+
### pi.registerShortcut(shortcut, options)
|
|
1139
|
+
|
|
1140
|
+
Register a keyboard shortcut. See [keybindings.md](keybindings.md) for the shortcut format and built-in keybindings.
|
|
1141
|
+
|
|
1142
|
+
```typescript
|
|
1143
|
+
pi.registerShortcut("ctrl+shift+p", {
|
|
1144
|
+
description: "Toggle plan mode",
|
|
1145
|
+
handler: async (ctx) => {
|
|
1146
|
+
ctx.ui.notify("Toggled!");
|
|
1147
|
+
},
|
|
1148
|
+
});
|
|
1149
|
+
```
|
|
1150
|
+
|
|
1151
|
+
### pi.registerFlag(name, options)
|
|
1152
|
+
|
|
1153
|
+
Register a CLI flag.
|
|
1154
|
+
|
|
1155
|
+
```typescript
|
|
1156
|
+
pi.registerFlag("plan", {
|
|
1157
|
+
description: "Start in plan mode",
|
|
1158
|
+
type: "boolean",
|
|
1159
|
+
default: false,
|
|
1160
|
+
});
|
|
1161
|
+
|
|
1162
|
+
// Check value
|
|
1163
|
+
if (pi.getFlag("--plan")) {
|
|
1164
|
+
// Plan mode enabled
|
|
1165
|
+
}
|
|
1166
|
+
```
|
|
1167
|
+
|
|
1168
|
+
### pi.exec(command, args, options?)
|
|
1169
|
+
|
|
1170
|
+
Execute a shell command.
|
|
1171
|
+
|
|
1172
|
+
```typescript
|
|
1173
|
+
const result = await pi.exec("git", ["status"], { signal, timeout: 5000 });
|
|
1174
|
+
// result.stdout, result.stderr, result.code, result.killed
|
|
1175
|
+
```
|
|
1176
|
+
|
|
1177
|
+
### pi.getActiveTools() / pi.getAllTools() / pi.setActiveTools(names)
|
|
1178
|
+
|
|
1179
|
+
Manage active tools. This works for both built-in tools and dynamically registered tools.
|
|
1180
|
+
|
|
1181
|
+
```typescript
|
|
1182
|
+
const active = pi.getActiveTools(); // ["read", "bash", "edit", "write"]
|
|
1183
|
+
const all = pi.getAllTools(); // [{ name: "read", description: "Read file contents..." }, ...]
|
|
1184
|
+
const names = all.map(t => t.name); // Just names if needed
|
|
1185
|
+
pi.setActiveTools(["read", "bash"]); // Switch to read-only
|
|
1186
|
+
```
|
|
1187
|
+
|
|
1188
|
+
### pi.setModel(model)
|
|
1189
|
+
|
|
1190
|
+
Set the current model. Returns `false` if no API key is available for the model. See [models.md](models.md) for configuring custom models.
|
|
1191
|
+
|
|
1192
|
+
```typescript
|
|
1193
|
+
const model = ctx.modelRegistry.find("anthropic", "claude-sonnet-4-5");
|
|
1194
|
+
if (model) {
|
|
1195
|
+
const success = await pi.setModel(model);
|
|
1196
|
+
if (!success) {
|
|
1197
|
+
ctx.ui.notify("No API key for this model", "error");
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
```
|
|
1201
|
+
|
|
1202
|
+
### pi.getThinkingLevel() / pi.setThinkingLevel(level)
|
|
1203
|
+
|
|
1204
|
+
Get or set the thinking level. Level is clamped to model capabilities (non-reasoning models always use "off").
|
|
1205
|
+
|
|
1206
|
+
```typescript
|
|
1207
|
+
const current = pi.getThinkingLevel(); // "off" | "minimal" | "low" | "medium" | "high" | "xhigh"
|
|
1208
|
+
pi.setThinkingLevel("high");
|
|
1209
|
+
```
|
|
1210
|
+
|
|
1211
|
+
### pi.events
|
|
1212
|
+
|
|
1213
|
+
Shared event bus for communication between extensions:
|
|
1214
|
+
|
|
1215
|
+
```typescript
|
|
1216
|
+
pi.events.on("my:event", (data) => { ... });
|
|
1217
|
+
pi.events.emit("my:event", { ... });
|
|
1218
|
+
```
|
|
1219
|
+
|
|
1220
|
+
### pi.registerProvider(name, config)
|
|
1221
|
+
|
|
1222
|
+
Register or override a model provider dynamically. Useful for proxies, custom endpoints, or team-wide model configurations.
|
|
1223
|
+
|
|
1224
|
+
Calls made during the extension factory function are queued and applied once the runner initialises. Calls made after that — for example from a command handler following a user setup flow — take effect immediately without requiring a `/reload`.
|
|
1225
|
+
|
|
1226
|
+
```typescript
|
|
1227
|
+
// Register a new provider with custom models
|
|
1228
|
+
pi.registerProvider("my-proxy", {
|
|
1229
|
+
baseUrl: "https://proxy.example.com",
|
|
1230
|
+
apiKey: "PROXY_API_KEY", // env var name or literal
|
|
1231
|
+
api: "anthropic-messages",
|
|
1232
|
+
models: [
|
|
1233
|
+
{
|
|
1234
|
+
id: "claude-sonnet-4-20250514",
|
|
1235
|
+
name: "Claude 4 Sonnet (proxy)",
|
|
1236
|
+
reasoning: false,
|
|
1237
|
+
input: ["text", "image"],
|
|
1238
|
+
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
|
1239
|
+
contextWindow: 200000,
|
|
1240
|
+
maxTokens: 16384
|
|
1241
|
+
}
|
|
1242
|
+
]
|
|
1243
|
+
});
|
|
1244
|
+
|
|
1245
|
+
// Override baseUrl for an existing provider (keeps all models)
|
|
1246
|
+
pi.registerProvider("anthropic", {
|
|
1247
|
+
baseUrl: "https://proxy.example.com"
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
// Register provider with OAuth support for /login
|
|
1251
|
+
pi.registerProvider("corporate-ai", {
|
|
1252
|
+
baseUrl: "https://ai.corp.com",
|
|
1253
|
+
api: "openai-responses",
|
|
1254
|
+
models: [...],
|
|
1255
|
+
oauth: {
|
|
1256
|
+
name: "Corporate AI (SSO)",
|
|
1257
|
+
async login(callbacks) {
|
|
1258
|
+
// Custom OAuth flow
|
|
1259
|
+
callbacks.onAuth({ url: "https://sso.corp.com/..." });
|
|
1260
|
+
const code = await callbacks.onPrompt({ message: "Enter code:" });
|
|
1261
|
+
return { refresh: code, access: code, expires: Date.now() + 3600000 };
|
|
1262
|
+
},
|
|
1263
|
+
async refreshToken(credentials) {
|
|
1264
|
+
// Refresh logic
|
|
1265
|
+
return credentials;
|
|
1266
|
+
},
|
|
1267
|
+
getApiKey(credentials) {
|
|
1268
|
+
return credentials.access;
|
|
1269
|
+
}
|
|
1270
|
+
}
|
|
1271
|
+
});
|
|
1272
|
+
```
|
|
1273
|
+
|
|
1274
|
+
**Config options:**
|
|
1275
|
+
- `baseUrl` - API endpoint URL. Required when defining models.
|
|
1276
|
+
- `apiKey` - API key or environment variable name. Required when defining models (unless `oauth` provided).
|
|
1277
|
+
- `api` - API type: `"anthropic-messages"`, `"openai-completions"`, `"openai-responses"`, etc.
|
|
1278
|
+
- `headers` - Custom headers to include in requests.
|
|
1279
|
+
- `authHeader` - If true, adds `Authorization: Bearer` header automatically.
|
|
1280
|
+
- `models` - Array of model definitions. If provided, replaces all existing models for this provider.
|
|
1281
|
+
- `oauth` - OAuth provider config for `/login` support. When provided, the provider appears in the login menu.
|
|
1282
|
+
- `streamSimple` - Custom streaming implementation for non-standard APIs.
|
|
1283
|
+
|
|
1284
|
+
See [custom-provider.md](custom-provider.md) for advanced topics: custom streaming APIs, OAuth details, model definition reference.
|
|
1285
|
+
|
|
1286
|
+
### pi.unregisterProvider(name)
|
|
1287
|
+
|
|
1288
|
+
Remove a previously registered provider and its models. Built-in models that were overridden by the provider are restored. Has no effect if the provider was not registered.
|
|
1289
|
+
|
|
1290
|
+
Like `registerProvider`, this takes effect immediately when called after the initial load phase, so a `/reload` is not required.
|
|
1291
|
+
|
|
1292
|
+
```typescript
|
|
1293
|
+
pi.registerCommand("my-setup-teardown", {
|
|
1294
|
+
description: "Remove the custom proxy provider",
|
|
1295
|
+
handler: async (_args, _ctx) => {
|
|
1296
|
+
pi.unregisterProvider("my-proxy");
|
|
1297
|
+
},
|
|
1298
|
+
});
|
|
1299
|
+
```
|
|
1300
|
+
|
|
1301
|
+
## State Management
|
|
1302
|
+
|
|
1303
|
+
Extensions with state should store it in tool result `details` for proper branching support:
|
|
1304
|
+
|
|
1305
|
+
```typescript
|
|
1306
|
+
export default function (pi: ExtensionAPI) {
|
|
1307
|
+
let items: string[] = [];
|
|
1308
|
+
|
|
1309
|
+
// Reconstruct state from session
|
|
1310
|
+
pi.on("session_start", async (_event, ctx) => {
|
|
1311
|
+
items = [];
|
|
1312
|
+
for (const entry of ctx.sessionManager.getBranch()) {
|
|
1313
|
+
if (entry.type === "message" && entry.message.role === "toolResult") {
|
|
1314
|
+
if (entry.message.toolName === "my_tool") {
|
|
1315
|
+
items = entry.message.details?.items ?? [];
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
});
|
|
1320
|
+
|
|
1321
|
+
pi.registerTool({
|
|
1322
|
+
name: "my_tool",
|
|
1323
|
+
// ...
|
|
1324
|
+
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
|
1325
|
+
items.push("new item");
|
|
1326
|
+
return {
|
|
1327
|
+
content: [{ type: "text", text: "Added" }],
|
|
1328
|
+
details: { items: [...items] }, // Store for reconstruction
|
|
1329
|
+
};
|
|
1330
|
+
},
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
```
|
|
1334
|
+
|
|
1335
|
+
## Custom Tools
|
|
1336
|
+
|
|
1337
|
+
Register tools the LLM can call via `pi.registerTool()`. Tools appear in the system prompt and can have custom rendering.
|
|
1338
|
+
|
|
1339
|
+
Use `promptSnippet` for a short one-line entry in the `Available tools` section in the default system prompt. If omitted, pi falls back to `description`.
|
|
1340
|
+
|
|
1341
|
+
Use `promptGuidelines` to add tool-specific bullets to the default system prompt `Guidelines` section. These bullets are included only while the tool is active (for example, after `pi.setActiveTools([...])`).
|
|
1342
|
+
|
|
1343
|
+
Note: Some models are idiots and include the @ prefix in tool path arguments. Built-in tools strip a leading @ before resolving paths. If your custom tool accepts a path, normalize a leading @ as well.
|
|
1344
|
+
|
|
1345
|
+
### Tool Definition
|
|
1346
|
+
|
|
1347
|
+
```typescript
|
|
1348
|
+
import { Type } from "@sinclair/typebox";
|
|
1349
|
+
import { StringEnum } from "@mariozechner/pi-ai";
|
|
1350
|
+
import { Text } from "@mariozechner/pi-tui";
|
|
1351
|
+
|
|
1352
|
+
pi.registerTool({
|
|
1353
|
+
name: "my_tool",
|
|
1354
|
+
label: "My Tool",
|
|
1355
|
+
description: "What this tool does (shown to LLM)",
|
|
1356
|
+
promptSnippet: "List or add items in the project todo list",
|
|
1357
|
+
promptGuidelines: [
|
|
1358
|
+
"Use this tool for todo planning instead of direct file edits when the user asks for a task list."
|
|
1359
|
+
],
|
|
1360
|
+
parameters: Type.Object({
|
|
1361
|
+
action: StringEnum(["list", "add"] as const), // Use StringEnum for Google compatibility
|
|
1362
|
+
text: Type.Optional(Type.String()),
|
|
1363
|
+
}),
|
|
1364
|
+
|
|
1365
|
+
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
|
1366
|
+
// Check for cancellation
|
|
1367
|
+
if (signal?.aborted) {
|
|
1368
|
+
return { content: [{ type: "text", text: "Cancelled" }] };
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
// Stream progress updates
|
|
1372
|
+
onUpdate?.({
|
|
1373
|
+
content: [{ type: "text", text: "Working..." }],
|
|
1374
|
+
details: { progress: 50 },
|
|
1375
|
+
});
|
|
1376
|
+
|
|
1377
|
+
// Run commands via pi.exec (captured from extension closure)
|
|
1378
|
+
const result = await pi.exec("some-command", [], { signal });
|
|
1379
|
+
|
|
1380
|
+
// Return result
|
|
1381
|
+
return {
|
|
1382
|
+
content: [{ type: "text", text: "Done" }], // Sent to LLM
|
|
1383
|
+
details: { data: result }, // For rendering & state
|
|
1384
|
+
};
|
|
1385
|
+
},
|
|
1386
|
+
|
|
1387
|
+
// Optional: Custom rendering
|
|
1388
|
+
renderCall(args, theme) { ... },
|
|
1389
|
+
renderResult(result, options, theme) { ... },
|
|
1390
|
+
});
|
|
1391
|
+
```
|
|
1392
|
+
|
|
1393
|
+
**Signaling errors:** To mark a tool execution as failed (sets `isError: true` on the result and reports it to the LLM), throw an error from `execute`. Returning a value never sets the error flag regardless of what properties you include in the return object.
|
|
1394
|
+
|
|
1395
|
+
```typescript
|
|
1396
|
+
// Correct: throw to signal an error
|
|
1397
|
+
async execute(toolCallId, params) {
|
|
1398
|
+
if (!isValid(params.input)) {
|
|
1399
|
+
throw new Error(`Invalid input: ${params.input}`);
|
|
1400
|
+
}
|
|
1401
|
+
return { content: [{ type: "text", text: "OK" }], details: {} };
|
|
1402
|
+
}
|
|
1403
|
+
```
|
|
1404
|
+
|
|
1405
|
+
**Important:** Use `StringEnum` from `@mariozechner/pi-ai` for string enums. `Type.Union`/`Type.Literal` doesn't work with Google's API.
|
|
1406
|
+
|
|
1407
|
+
### Overriding Built-in Tools
|
|
1408
|
+
|
|
1409
|
+
Extensions can override built-in tools (`read`, `bash`, `edit`, `write`, `grep`, `find`, `ls`) by registering a tool with the same name. Interactive mode displays a warning when this happens.
|
|
1410
|
+
|
|
1411
|
+
```bash
|
|
1412
|
+
# Extension's read tool replaces built-in read
|
|
1413
|
+
pi -e ./tool-override.ts
|
|
1414
|
+
```
|
|
1415
|
+
|
|
1416
|
+
Alternatively, use `--no-tools` to start without any built-in tools:
|
|
1417
|
+
```bash
|
|
1418
|
+
# No built-in tools, only extension tools
|
|
1419
|
+
pi --no-tools -e ./my-extension.ts
|
|
1420
|
+
```
|
|
1421
|
+
|
|
1422
|
+
See [examples/extensions/tool-override.ts](../examples/extensions/tool-override.ts) for a complete example that overrides `read` with logging and access control.
|
|
1423
|
+
|
|
1424
|
+
**Rendering:** If your override doesn't provide custom `renderCall`/`renderResult` functions, the built-in renderer is used automatically (syntax highlighting, diffs, etc.). This lets you wrap built-in tools for logging or access control without reimplementing the UI.
|
|
1425
|
+
|
|
1426
|
+
**Your implementation must match the exact result shape**, including the `details` type. The UI and session logic depend on these shapes for rendering and state tracking.
|
|
1427
|
+
|
|
1428
|
+
Built-in tool implementations:
|
|
1429
|
+
- [read.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/read.ts) - `ReadToolDetails`
|
|
1430
|
+
- [bash.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/bash.ts) - `BashToolDetails`
|
|
1431
|
+
- [edit.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/edit.ts)
|
|
1432
|
+
- [write.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/write.ts)
|
|
1433
|
+
- [grep.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/grep.ts) - `GrepToolDetails`
|
|
1434
|
+
- [find.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/find.ts) - `FindToolDetails`
|
|
1435
|
+
- [ls.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/core/tools/ls.ts) - `LsToolDetails`
|
|
1436
|
+
|
|
1437
|
+
### Remote Execution
|
|
1438
|
+
|
|
1439
|
+
Built-in tools support pluggable operations for delegating to remote systems (SSH, containers, etc.):
|
|
1440
|
+
|
|
1441
|
+
```typescript
|
|
1442
|
+
import { createReadTool, createBashTool, type ReadOperations } from "@mariozechner/pi-coding-agent";
|
|
1443
|
+
|
|
1444
|
+
// Create tool with custom operations
|
|
1445
|
+
const remoteRead = createReadTool(cwd, {
|
|
1446
|
+
operations: {
|
|
1447
|
+
readFile: (path) => sshExec(remote, `cat ${path}`),
|
|
1448
|
+
access: (path) => sshExec(remote, `test -r ${path}`).then(() => {}),
|
|
1449
|
+
}
|
|
1450
|
+
});
|
|
1451
|
+
|
|
1452
|
+
// Register, checking flag at execution time
|
|
1453
|
+
pi.registerTool({
|
|
1454
|
+
...remoteRead,
|
|
1455
|
+
async execute(id, params, signal, onUpdate, _ctx) {
|
|
1456
|
+
const ssh = getSshConfig();
|
|
1457
|
+
if (ssh) {
|
|
1458
|
+
const tool = createReadTool(cwd, { operations: createRemoteOps(ssh) });
|
|
1459
|
+
return tool.execute(id, params, signal, onUpdate);
|
|
1460
|
+
}
|
|
1461
|
+
return localRead.execute(id, params, signal, onUpdate);
|
|
1462
|
+
},
|
|
1463
|
+
});
|
|
1464
|
+
```
|
|
1465
|
+
|
|
1466
|
+
**Operations interfaces:** `ReadOperations`, `WriteOperations`, `EditOperations`, `BashOperations`, `LsOperations`, `GrepOperations`, `FindOperations`
|
|
1467
|
+
|
|
1468
|
+
The bash tool also supports a spawn hook to adjust the command, cwd, or env before execution:
|
|
1469
|
+
|
|
1470
|
+
```typescript
|
|
1471
|
+
import { createBashTool } from "@mariozechner/pi-coding-agent";
|
|
1472
|
+
|
|
1473
|
+
const bashTool = createBashTool(cwd, {
|
|
1474
|
+
spawnHook: ({ command, cwd, env }) => ({
|
|
1475
|
+
command: `source ~/.profile\n${command}`,
|
|
1476
|
+
cwd: `/mnt/sandbox${cwd}`,
|
|
1477
|
+
env: { ...env, CI: "1" },
|
|
1478
|
+
}),
|
|
1479
|
+
});
|
|
1480
|
+
```
|
|
1481
|
+
|
|
1482
|
+
See [examples/extensions/ssh.ts](../examples/extensions/ssh.ts) for a complete SSH example with `--ssh` flag.
|
|
1483
|
+
|
|
1484
|
+
### Output Truncation
|
|
1485
|
+
|
|
1486
|
+
**Tools MUST truncate their output** to avoid overwhelming the LLM context. Large outputs can cause:
|
|
1487
|
+
- Context overflow errors (prompt too long)
|
|
1488
|
+
- Compaction failures
|
|
1489
|
+
- Degraded model performance
|
|
1490
|
+
|
|
1491
|
+
The built-in limit is **50KB** (~10k tokens) and **2000 lines**, whichever is hit first. Use the exported truncation utilities:
|
|
1492
|
+
|
|
1493
|
+
```typescript
|
|
1494
|
+
import {
|
|
1495
|
+
truncateHead, // Keep first N lines/bytes (good for file reads, search results)
|
|
1496
|
+
truncateTail, // Keep last N lines/bytes (good for logs, command output)
|
|
1497
|
+
truncateLine, // Truncate a single line to maxBytes with ellipsis
|
|
1498
|
+
formatSize, // Human-readable size (e.g., "50KB", "1.5MB")
|
|
1499
|
+
DEFAULT_MAX_BYTES, // 50KB
|
|
1500
|
+
DEFAULT_MAX_LINES, // 2000
|
|
1501
|
+
} from "@mariozechner/pi-coding-agent";
|
|
1502
|
+
|
|
1503
|
+
async execute(toolCallId, params, signal, onUpdate, ctx) {
|
|
1504
|
+
const output = await runCommand();
|
|
1505
|
+
|
|
1506
|
+
// Apply truncation
|
|
1507
|
+
const truncation = truncateHead(output, {
|
|
1508
|
+
maxLines: DEFAULT_MAX_LINES,
|
|
1509
|
+
maxBytes: DEFAULT_MAX_BYTES,
|
|
1510
|
+
});
|
|
1511
|
+
|
|
1512
|
+
let result = truncation.content;
|
|
1513
|
+
|
|
1514
|
+
if (truncation.truncated) {
|
|
1515
|
+
// Write full output to temp file
|
|
1516
|
+
const tempFile = writeTempFile(output);
|
|
1517
|
+
|
|
1518
|
+
// Inform the LLM where to find complete output
|
|
1519
|
+
result += `\n\n[Output truncated: ${truncation.outputLines} of ${truncation.totalLines} lines`;
|
|
1520
|
+
result += ` (${formatSize(truncation.outputBytes)} of ${formatSize(truncation.totalBytes)}).`;
|
|
1521
|
+
result += ` Full output saved to: ${tempFile}]`;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
return { content: [{ type: "text", text: result }] };
|
|
1525
|
+
}
|
|
1526
|
+
```
|
|
1527
|
+
|
|
1528
|
+
**Key points:**
|
|
1529
|
+
- Use `truncateHead` for content where the beginning matters (search results, file reads)
|
|
1530
|
+
- Use `truncateTail` for content where the end matters (logs, command output)
|
|
1531
|
+
- Always inform the LLM when output is truncated and where to find the full version
|
|
1532
|
+
- Document the truncation limits in your tool's description
|
|
1533
|
+
|
|
1534
|
+
See [examples/extensions/truncated-tool.ts](../examples/extensions/truncated-tool.ts) for a complete example wrapping `rg` (ripgrep) with proper truncation.
|
|
1535
|
+
|
|
1536
|
+
### Multiple Tools
|
|
1537
|
+
|
|
1538
|
+
One extension can register multiple tools with shared state:
|
|
1539
|
+
|
|
1540
|
+
```typescript
|
|
1541
|
+
export default function (pi: ExtensionAPI) {
|
|
1542
|
+
let connection = null;
|
|
1543
|
+
|
|
1544
|
+
pi.registerTool({ name: "db_connect", ... });
|
|
1545
|
+
pi.registerTool({ name: "db_query", ... });
|
|
1546
|
+
pi.registerTool({ name: "db_close", ... });
|
|
1547
|
+
|
|
1548
|
+
pi.on("session_shutdown", async () => {
|
|
1549
|
+
connection?.close();
|
|
1550
|
+
});
|
|
1551
|
+
}
|
|
1552
|
+
```
|
|
1553
|
+
|
|
1554
|
+
### Custom Rendering
|
|
1555
|
+
|
|
1556
|
+
Tools can provide `renderCall` and `renderResult` for custom TUI display. See [tui.md](tui.md) for the full component API and [tool-execution.ts](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/src/modes/interactive/components/tool-execution.ts) for how built-in tools render.
|
|
1557
|
+
|
|
1558
|
+
Tool output is wrapped in a `Box` that handles padding and background. Your render methods return `Component` instances (typically `Text`).
|
|
1559
|
+
|
|
1560
|
+
#### renderCall
|
|
1561
|
+
|
|
1562
|
+
Renders the tool call (before/during execution):
|
|
1563
|
+
|
|
1564
|
+
```typescript
|
|
1565
|
+
import { Text } from "@mariozechner/pi-tui";
|
|
1566
|
+
|
|
1567
|
+
renderCall(args, theme) {
|
|
1568
|
+
let text = theme.fg("toolTitle", theme.bold("my_tool "));
|
|
1569
|
+
text += theme.fg("muted", args.action);
|
|
1570
|
+
if (args.text) {
|
|
1571
|
+
text += " " + theme.fg("dim", `"${args.text}"`);
|
|
1572
|
+
}
|
|
1573
|
+
return new Text(text, 0, 0); // 0,0 padding - Box handles it
|
|
1574
|
+
}
|
|
1575
|
+
```
|
|
1576
|
+
|
|
1577
|
+
#### renderResult
|
|
1578
|
+
|
|
1579
|
+
Renders the tool result:
|
|
1580
|
+
|
|
1581
|
+
```typescript
|
|
1582
|
+
renderResult(result, { expanded, isPartial }, theme) {
|
|
1583
|
+
// Handle streaming
|
|
1584
|
+
if (isPartial) {
|
|
1585
|
+
return new Text(theme.fg("warning", "Processing..."), 0, 0);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
// Handle errors
|
|
1589
|
+
if (result.details?.error) {
|
|
1590
|
+
return new Text(theme.fg("error", `Error: ${result.details.error}`), 0, 0);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
// Normal result - support expanded view (Ctrl+O)
|
|
1594
|
+
let text = theme.fg("success", "✓ Done");
|
|
1595
|
+
if (expanded && result.details?.items) {
|
|
1596
|
+
for (const item of result.details.items) {
|
|
1597
|
+
text += "\n " + theme.fg("dim", item);
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
return new Text(text, 0, 0);
|
|
1601
|
+
}
|
|
1602
|
+
```
|
|
1603
|
+
|
|
1604
|
+
#### Keybinding Hints
|
|
1605
|
+
|
|
1606
|
+
Use `keyHint()` to display keybinding hints that respect user's keybinding configuration:
|
|
1607
|
+
|
|
1608
|
+
```typescript
|
|
1609
|
+
import { keyHint } from "@mariozechner/pi-coding-agent";
|
|
1610
|
+
|
|
1611
|
+
renderResult(result, { expanded }, theme) {
|
|
1612
|
+
let text = theme.fg("success", "✓ Done");
|
|
1613
|
+
if (!expanded) {
|
|
1614
|
+
text += ` (${keyHint("expandTools", "to expand")})`;
|
|
1615
|
+
}
|
|
1616
|
+
return new Text(text, 0, 0);
|
|
1617
|
+
}
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
Available functions:
|
|
1621
|
+
- `keyHint(action, description)` - Editor actions (e.g., `"expandTools"`, `"selectConfirm"`)
|
|
1622
|
+
- `appKeyHint(keybindings, action, description)` - App actions (requires `KeybindingsManager`)
|
|
1623
|
+
- `editorKey(action)` - Get raw key string for editor action
|
|
1624
|
+
- `rawKeyHint(key, description)` - Format a raw key string
|
|
1625
|
+
|
|
1626
|
+
#### Best Practices
|
|
1627
|
+
|
|
1628
|
+
- Use `Text` with padding `(0, 0)` - the Box handles padding
|
|
1629
|
+
- Use `\n` for multi-line content
|
|
1630
|
+
- Handle `isPartial` for streaming progress
|
|
1631
|
+
- Support `expanded` for detail on demand
|
|
1632
|
+
- Keep default view compact
|
|
1633
|
+
|
|
1634
|
+
#### Fallback
|
|
1635
|
+
|
|
1636
|
+
If `renderCall`/`renderResult` is not defined or throws:
|
|
1637
|
+
- `renderCall`: Shows tool name
|
|
1638
|
+
- `renderResult`: Shows raw text from `content`
|
|
1639
|
+
|
|
1640
|
+
## Custom UI
|
|
1641
|
+
|
|
1642
|
+
Extensions can interact with users via `ctx.ui` methods and customize how messages/tools render.
|
|
1643
|
+
|
|
1644
|
+
**For custom components, see [tui.md](tui.md)** which has copy-paste patterns for:
|
|
1645
|
+
- Selection dialogs (SelectList)
|
|
1646
|
+
- Async operations with cancel (BorderedLoader)
|
|
1647
|
+
- Settings toggles (SettingsList)
|
|
1648
|
+
- Status indicators (setStatus)
|
|
1649
|
+
- Working message during streaming (setWorkingMessage)
|
|
1650
|
+
- Widgets above/below editor (setWidget)
|
|
1651
|
+
- Custom footers (setFooter)
|
|
1652
|
+
|
|
1653
|
+
### Dialogs
|
|
1654
|
+
|
|
1655
|
+
```typescript
|
|
1656
|
+
// Select from options
|
|
1657
|
+
const choice = await ctx.ui.select("Pick one:", ["A", "B", "C"]);
|
|
1658
|
+
|
|
1659
|
+
// Confirm dialog
|
|
1660
|
+
const ok = await ctx.ui.confirm("Delete?", "This cannot be undone");
|
|
1661
|
+
|
|
1662
|
+
// Text input
|
|
1663
|
+
const name = await ctx.ui.input("Name:", "placeholder");
|
|
1664
|
+
|
|
1665
|
+
// Multi-line editor
|
|
1666
|
+
const text = await ctx.ui.editor("Edit:", "prefilled text");
|
|
1667
|
+
|
|
1668
|
+
// Notification (non-blocking)
|
|
1669
|
+
ctx.ui.notify("Done!", "info"); // "info" | "warning" | "error"
|
|
1670
|
+
```
|
|
1671
|
+
|
|
1672
|
+
#### Timed Dialogs with Countdown
|
|
1673
|
+
|
|
1674
|
+
Dialogs support a `timeout` option that auto-dismisses with a live countdown display:
|
|
1675
|
+
|
|
1676
|
+
```typescript
|
|
1677
|
+
// Dialog shows "Title (5s)" → "Title (4s)" → ... → auto-dismisses at 0
|
|
1678
|
+
const confirmed = await ctx.ui.confirm(
|
|
1679
|
+
"Timed Confirmation",
|
|
1680
|
+
"This dialog will auto-cancel in 5 seconds. Confirm?",
|
|
1681
|
+
{ timeout: 5000 }
|
|
1682
|
+
);
|
|
1683
|
+
|
|
1684
|
+
if (confirmed) {
|
|
1685
|
+
// User confirmed
|
|
1686
|
+
} else {
|
|
1687
|
+
// User cancelled or timed out
|
|
1688
|
+
}
|
|
1689
|
+
```
|
|
1690
|
+
|
|
1691
|
+
**Return values on timeout:**
|
|
1692
|
+
- `select()` returns `undefined`
|
|
1693
|
+
- `confirm()` returns `false`
|
|
1694
|
+
- `input()` returns `undefined`
|
|
1695
|
+
|
|
1696
|
+
#### Manual Dismissal with AbortSignal
|
|
1697
|
+
|
|
1698
|
+
For more control (e.g., to distinguish timeout from user cancel), use `AbortSignal`:
|
|
1699
|
+
|
|
1700
|
+
```typescript
|
|
1701
|
+
const controller = new AbortController();
|
|
1702
|
+
const timeoutId = setTimeout(() => controller.abort(), 5000);
|
|
1703
|
+
|
|
1704
|
+
const confirmed = await ctx.ui.confirm(
|
|
1705
|
+
"Timed Confirmation",
|
|
1706
|
+
"This dialog will auto-cancel in 5 seconds. Confirm?",
|
|
1707
|
+
{ signal: controller.signal }
|
|
1708
|
+
);
|
|
1709
|
+
|
|
1710
|
+
clearTimeout(timeoutId);
|
|
1711
|
+
|
|
1712
|
+
if (confirmed) {
|
|
1713
|
+
// User confirmed
|
|
1714
|
+
} else if (controller.signal.aborted) {
|
|
1715
|
+
// Dialog timed out
|
|
1716
|
+
} else {
|
|
1717
|
+
// User cancelled (pressed Escape or selected "No")
|
|
1718
|
+
}
|
|
1719
|
+
```
|
|
1720
|
+
|
|
1721
|
+
See [examples/extensions/timed-confirm.ts](../examples/extensions/timed-confirm.ts) for complete examples.
|
|
1722
|
+
|
|
1723
|
+
### Widgets, Status, and Footer
|
|
1724
|
+
|
|
1725
|
+
```typescript
|
|
1726
|
+
// Status in footer (persistent until cleared)
|
|
1727
|
+
ctx.ui.setStatus("my-ext", "Processing...");
|
|
1728
|
+
ctx.ui.setStatus("my-ext", undefined); // Clear
|
|
1729
|
+
|
|
1730
|
+
// Working message (shown during streaming)
|
|
1731
|
+
ctx.ui.setWorkingMessage("Thinking deeply...");
|
|
1732
|
+
ctx.ui.setWorkingMessage(); // Restore default
|
|
1733
|
+
|
|
1734
|
+
// Widget above editor (default)
|
|
1735
|
+
ctx.ui.setWidget("my-widget", ["Line 1", "Line 2"]);
|
|
1736
|
+
// Widget below editor
|
|
1737
|
+
ctx.ui.setWidget("my-widget", ["Line 1", "Line 2"], { placement: "belowEditor" });
|
|
1738
|
+
ctx.ui.setWidget("my-widget", (tui, theme) => new Text(theme.fg("accent", "Custom"), 0, 0));
|
|
1739
|
+
ctx.ui.setWidget("my-widget", undefined); // Clear
|
|
1740
|
+
|
|
1741
|
+
// Custom footer (replaces built-in footer entirely)
|
|
1742
|
+
ctx.ui.setFooter((tui, theme) => ({
|
|
1743
|
+
render(width) { return [theme.fg("dim", "Custom footer")]; },
|
|
1744
|
+
invalidate() {},
|
|
1745
|
+
}));
|
|
1746
|
+
ctx.ui.setFooter(undefined); // Restore built-in footer
|
|
1747
|
+
|
|
1748
|
+
// Terminal title
|
|
1749
|
+
ctx.ui.setTitle("pi - my-project");
|
|
1750
|
+
|
|
1751
|
+
// Editor text
|
|
1752
|
+
ctx.ui.setEditorText("Prefill text");
|
|
1753
|
+
const current = ctx.ui.getEditorText();
|
|
1754
|
+
|
|
1755
|
+
// Paste into editor (triggers paste handling, including collapse for large content)
|
|
1756
|
+
ctx.ui.pasteToEditor("pasted content");
|
|
1757
|
+
|
|
1758
|
+
// Tool output expansion
|
|
1759
|
+
const wasExpanded = ctx.ui.getToolsExpanded();
|
|
1760
|
+
ctx.ui.setToolsExpanded(true);
|
|
1761
|
+
ctx.ui.setToolsExpanded(wasExpanded);
|
|
1762
|
+
|
|
1763
|
+
// Custom editor (vim mode, emacs mode, etc.)
|
|
1764
|
+
ctx.ui.setEditorComponent((tui, theme, keybindings) => new VimEditor(tui, theme, keybindings));
|
|
1765
|
+
ctx.ui.setEditorComponent(undefined); // Restore default editor
|
|
1766
|
+
|
|
1767
|
+
// Theme management (see themes.md for creating themes)
|
|
1768
|
+
const themes = ctx.ui.getAllThemes(); // [{ name: "dark", path: "/..." | undefined }, ...]
|
|
1769
|
+
const lightTheme = ctx.ui.getTheme("light"); // Load without switching
|
|
1770
|
+
const result = ctx.ui.setTheme("light"); // Switch by name
|
|
1771
|
+
if (!result.success) {
|
|
1772
|
+
ctx.ui.notify(`Failed: ${result.error}`, "error");
|
|
1773
|
+
}
|
|
1774
|
+
ctx.ui.setTheme(lightTheme!); // Or switch by Theme object
|
|
1775
|
+
ctx.ui.theme.fg("accent", "styled text"); // Access current theme
|
|
1776
|
+
```
|
|
1777
|
+
|
|
1778
|
+
### Custom Components
|
|
1779
|
+
|
|
1780
|
+
For complex UI, use `ctx.ui.custom()`. This temporarily replaces the editor with your component until `done()` is called:
|
|
1781
|
+
|
|
1782
|
+
```typescript
|
|
1783
|
+
import { Text, Component } from "@mariozechner/pi-tui";
|
|
1784
|
+
|
|
1785
|
+
const result = await ctx.ui.custom<boolean>((tui, theme, keybindings, done) => {
|
|
1786
|
+
const text = new Text("Press Enter to confirm, Escape to cancel", 1, 1);
|
|
1787
|
+
|
|
1788
|
+
text.onKey = (key) => {
|
|
1789
|
+
if (key === "return") done(true);
|
|
1790
|
+
if (key === "escape") done(false);
|
|
1791
|
+
return true;
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1794
|
+
return text;
|
|
1795
|
+
});
|
|
1796
|
+
|
|
1797
|
+
if (result) {
|
|
1798
|
+
// User pressed Enter
|
|
1799
|
+
}
|
|
1800
|
+
```
|
|
1801
|
+
|
|
1802
|
+
The callback receives:
|
|
1803
|
+
- `tui` - TUI instance (for screen dimensions, focus management)
|
|
1804
|
+
- `theme` - Current theme for styling
|
|
1805
|
+
- `keybindings` - App keybinding manager (for checking shortcuts)
|
|
1806
|
+
- `done(value)` - Call to close component and return value
|
|
1807
|
+
|
|
1808
|
+
See [tui.md](tui.md) for the full component API.
|
|
1809
|
+
|
|
1810
|
+
#### Overlay Mode (Experimental)
|
|
1811
|
+
|
|
1812
|
+
Pass `{ overlay: true }` to render the component as a floating modal on top of existing content, without clearing the screen:
|
|
1813
|
+
|
|
1814
|
+
```typescript
|
|
1815
|
+
const result = await ctx.ui.custom<string | null>(
|
|
1816
|
+
(tui, theme, keybindings, done) => new MyOverlayComponent({ onClose: done }),
|
|
1817
|
+
{ overlay: true }
|
|
1818
|
+
);
|
|
1819
|
+
```
|
|
1820
|
+
|
|
1821
|
+
For advanced positioning (anchors, margins, percentages, responsive visibility), pass `overlayOptions`. Use `onHandle` to control visibility programmatically:
|
|
1822
|
+
|
|
1823
|
+
```typescript
|
|
1824
|
+
const result = await ctx.ui.custom<string | null>(
|
|
1825
|
+
(tui, theme, keybindings, done) => new MyOverlayComponent({ onClose: done }),
|
|
1826
|
+
{
|
|
1827
|
+
overlay: true,
|
|
1828
|
+
overlayOptions: { anchor: "top-right", width: "50%", margin: 2 },
|
|
1829
|
+
onHandle: (handle) => { /* handle.setHidden(true/false) */ }
|
|
1830
|
+
}
|
|
1831
|
+
);
|
|
1832
|
+
```
|
|
1833
|
+
|
|
1834
|
+
See [tui.md](tui.md) for the full `OverlayOptions` API and [overlay-qa-tests.ts](../examples/extensions/overlay-qa-tests.ts) for examples.
|
|
1835
|
+
|
|
1836
|
+
### Custom Editor
|
|
1837
|
+
|
|
1838
|
+
Replace the main input editor with a custom implementation (vim mode, emacs mode, etc.):
|
|
1839
|
+
|
|
1840
|
+
```typescript
|
|
1841
|
+
import { CustomEditor, type ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
1842
|
+
import { matchesKey } from "@mariozechner/pi-tui";
|
|
1843
|
+
|
|
1844
|
+
class VimEditor extends CustomEditor {
|
|
1845
|
+
private mode: "normal" | "insert" = "insert";
|
|
1846
|
+
|
|
1847
|
+
handleInput(data: string): void {
|
|
1848
|
+
if (matchesKey(data, "escape") && this.mode === "insert") {
|
|
1849
|
+
this.mode = "normal";
|
|
1850
|
+
return;
|
|
1851
|
+
}
|
|
1852
|
+
if (this.mode === "normal" && data === "i") {
|
|
1853
|
+
this.mode = "insert";
|
|
1854
|
+
return;
|
|
1855
|
+
}
|
|
1856
|
+
super.handleInput(data); // App keybindings + text editing
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
export default function (pi: ExtensionAPI) {
|
|
1861
|
+
pi.on("session_start", (_event, ctx) => {
|
|
1862
|
+
ctx.ui.setEditorComponent((_tui, theme, keybindings) =>
|
|
1863
|
+
new VimEditor(theme, keybindings)
|
|
1864
|
+
);
|
|
1865
|
+
});
|
|
1866
|
+
}
|
|
1867
|
+
```
|
|
1868
|
+
|
|
1869
|
+
**Key points:**
|
|
1870
|
+
- Extend `CustomEditor` (not base `Editor`) to get app keybindings (escape to abort, ctrl+d, model switching)
|
|
1871
|
+
- Call `super.handleInput(data)` for keys you don't handle
|
|
1872
|
+
- Factory receives `theme` and `keybindings` from the app
|
|
1873
|
+
- Pass `undefined` to restore default: `ctx.ui.setEditorComponent(undefined)`
|
|
1874
|
+
|
|
1875
|
+
See [tui.md](tui.md) Pattern 7 for a complete example with mode indicator.
|
|
1876
|
+
|
|
1877
|
+
### Message Rendering
|
|
1878
|
+
|
|
1879
|
+
Register a custom renderer for messages with your `customType`:
|
|
1880
|
+
|
|
1881
|
+
```typescript
|
|
1882
|
+
import { Text } from "@mariozechner/pi-tui";
|
|
1883
|
+
|
|
1884
|
+
pi.registerMessageRenderer("my-extension", (message, options, theme) => {
|
|
1885
|
+
const { expanded } = options;
|
|
1886
|
+
let text = theme.fg("accent", `[${message.customType}] `);
|
|
1887
|
+
text += message.content;
|
|
1888
|
+
|
|
1889
|
+
if (expanded && message.details) {
|
|
1890
|
+
text += "\n" + theme.fg("dim", JSON.stringify(message.details, null, 2));
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
return new Text(text, 0, 0);
|
|
1894
|
+
});
|
|
1895
|
+
```
|
|
1896
|
+
|
|
1897
|
+
Messages are sent via `pi.sendMessage()`:
|
|
1898
|
+
|
|
1899
|
+
```typescript
|
|
1900
|
+
pi.sendMessage({
|
|
1901
|
+
customType: "my-extension", // Matches registerMessageRenderer
|
|
1902
|
+
content: "Status update",
|
|
1903
|
+
display: true, // Show in TUI
|
|
1904
|
+
details: { ... }, // Available in renderer
|
|
1905
|
+
});
|
|
1906
|
+
```
|
|
1907
|
+
|
|
1908
|
+
### Theme Colors
|
|
1909
|
+
|
|
1910
|
+
All render functions receive a `theme` object. See [themes.md](themes.md) for creating custom themes and the full color palette.
|
|
1911
|
+
|
|
1912
|
+
```typescript
|
|
1913
|
+
// Foreground colors
|
|
1914
|
+
theme.fg("toolTitle", text) // Tool names
|
|
1915
|
+
theme.fg("accent", text) // Highlights
|
|
1916
|
+
theme.fg("success", text) // Success (green)
|
|
1917
|
+
theme.fg("error", text) // Errors (red)
|
|
1918
|
+
theme.fg("warning", text) // Warnings (yellow)
|
|
1919
|
+
theme.fg("muted", text) // Secondary text
|
|
1920
|
+
theme.fg("dim", text) // Tertiary text
|
|
1921
|
+
|
|
1922
|
+
// Text styles
|
|
1923
|
+
theme.bold(text)
|
|
1924
|
+
theme.italic(text)
|
|
1925
|
+
theme.strikethrough(text)
|
|
1926
|
+
```
|
|
1927
|
+
|
|
1928
|
+
For syntax highlighting in custom tool renderers:
|
|
1929
|
+
|
|
1930
|
+
```typescript
|
|
1931
|
+
import { highlightCode, getLanguageFromPath } from "@mariozechner/pi-coding-agent";
|
|
1932
|
+
|
|
1933
|
+
// Highlight code with explicit language
|
|
1934
|
+
const highlighted = highlightCode("const x = 1;", "typescript", theme);
|
|
1935
|
+
|
|
1936
|
+
// Auto-detect language from file path
|
|
1937
|
+
const lang = getLanguageFromPath("/path/to/file.rs"); // "rust"
|
|
1938
|
+
const highlighted = highlightCode(code, lang, theme);
|
|
1939
|
+
```
|
|
1940
|
+
|
|
1941
|
+
## Error Handling
|
|
1942
|
+
|
|
1943
|
+
- Extension errors are logged, agent continues
|
|
1944
|
+
- `tool_call` errors block the tool (fail-safe)
|
|
1945
|
+
- Tool `execute` errors must be signaled by throwing; the thrown error is caught, reported to the LLM with `isError: true`, and execution continues
|
|
1946
|
+
|
|
1947
|
+
## Mode Behavior
|
|
1948
|
+
|
|
1949
|
+
| Mode | UI Methods | Notes |
|
|
1950
|
+
|------|-----------|-------|
|
|
1951
|
+
| Interactive | Full TUI | Normal operation |
|
|
1952
|
+
| RPC (`--mode rpc`) | JSON protocol | Host handles UI, see [rpc.md](rpc.md) |
|
|
1953
|
+
| JSON (`--mode json`) | No-op | Event stream to stdout, see [json.md](json.md) |
|
|
1954
|
+
| Print (`-p`) | No-op | Extensions run but can't prompt |
|
|
1955
|
+
|
|
1956
|
+
In non-interactive modes, check `ctx.hasUI` before using UI methods.
|
|
1957
|
+
|
|
1958
|
+
## Examples Reference
|
|
1959
|
+
|
|
1960
|
+
All examples in [examples/extensions/](../examples/extensions/).
|
|
1961
|
+
|
|
1962
|
+
| Example | Description | Key APIs |
|
|
1963
|
+
|---------|-------------|----------|
|
|
1964
|
+
| **Tools** |||
|
|
1965
|
+
| `hello.ts` | Minimal tool registration | `registerTool` |
|
|
1966
|
+
| `question.ts` | Tool with user interaction | `registerTool`, `ui.select` |
|
|
1967
|
+
| `questionnaire.ts` | Multi-step wizard tool | `registerTool`, `ui.custom` |
|
|
1968
|
+
| `todo.ts` | Stateful tool with persistence | `registerTool`, `appendEntry`, `renderResult`, session events |
|
|
1969
|
+
| `dynamic-tools.ts` | Register tools after startup and during commands | `registerTool`, `session_start`, `registerCommand` |
|
|
1970
|
+
| `truncated-tool.ts` | Output truncation example | `registerTool`, `truncateHead` |
|
|
1971
|
+
| `tool-override.ts` | Override built-in read tool | `registerTool` (same name as built-in) |
|
|
1972
|
+
| **Commands** |||
|
|
1973
|
+
| `pirate.ts` | Modify system prompt per-turn | `registerCommand`, `before_agent_start` |
|
|
1974
|
+
| `summarize.ts` | Conversation summary command | `registerCommand`, `ui.custom` |
|
|
1975
|
+
| `handoff.ts` | Cross-provider model handoff | `registerCommand`, `ui.editor`, `ui.custom` |
|
|
1976
|
+
| `qna.ts` | Q&A with custom UI | `registerCommand`, `ui.custom`, `setEditorText` |
|
|
1977
|
+
| `send-user-message.ts` | Inject user messages | `registerCommand`, `sendUserMessage` |
|
|
1978
|
+
| `reload-runtime.ts` | Reload command and LLM tool handoff | `registerCommand`, `ctx.reload()`, `sendUserMessage` |
|
|
1979
|
+
| `shutdown-command.ts` | Graceful shutdown command | `registerCommand`, `shutdown()` |
|
|
1980
|
+
| **Events & Gates** |||
|
|
1981
|
+
| `permission-gate.ts` | Block dangerous commands | `on("tool_call")`, `ui.confirm` |
|
|
1982
|
+
| `protected-paths.ts` | Block writes to specific paths | `on("tool_call")` |
|
|
1983
|
+
| `confirm-destructive.ts` | Confirm session changes | `on("session_before_switch")`, `on("session_before_fork")` |
|
|
1984
|
+
| `dirty-repo-guard.ts` | Warn on dirty git repo | `on("session_before_*")`, `exec` |
|
|
1985
|
+
| `input-transform.ts` | Transform user input | `on("input")` |
|
|
1986
|
+
| `model-status.ts` | React to model changes | `on("model_select")`, `setStatus` |
|
|
1987
|
+
| `provider-payload.ts` | Inspect or patch provider payloads | `on("before_provider_request")` |
|
|
1988
|
+
| `system-prompt-header.ts` | Display system prompt info | `on("agent_start")`, `getSystemPrompt` |
|
|
1989
|
+
| `claude-rules.ts` | Load rules from files | `on("session_start")`, `on("before_agent_start")` |
|
|
1990
|
+
| `file-trigger.ts` | File watcher triggers messages | `sendMessage` |
|
|
1991
|
+
| **Compaction & Sessions** |||
|
|
1992
|
+
| `custom-compaction.ts` | Custom compaction summary | `on("session_before_compact")` |
|
|
1993
|
+
| `trigger-compact.ts` | Trigger compaction manually | `compact()` |
|
|
1994
|
+
| `git-checkpoint.ts` | Git stash on turns | `on("turn_end")`, `on("session_fork")`, `exec` |
|
|
1995
|
+
| `auto-commit-on-exit.ts` | Commit on shutdown | `on("session_shutdown")`, `exec` |
|
|
1996
|
+
| **UI Components** |||
|
|
1997
|
+
| `status-line.ts` | Footer status indicator | `setStatus`, session events |
|
|
1998
|
+
| `custom-footer.ts` | Replace footer entirely | `registerCommand`, `setFooter` |
|
|
1999
|
+
| `custom-header.ts` | Replace startup header | `on("session_start")`, `setHeader` |
|
|
2000
|
+
| `modal-editor.ts` | Vim-style modal editor | `setEditorComponent`, `CustomEditor` |
|
|
2001
|
+
| `rainbow-editor.ts` | Custom editor styling | `setEditorComponent` |
|
|
2002
|
+
| `widget-placement.ts` | Widget above/below editor | `setWidget` |
|
|
2003
|
+
| `overlay-test.ts` | Overlay components | `ui.custom` with overlay options |
|
|
2004
|
+
| `overlay-qa-tests.ts` | Comprehensive overlay tests | `ui.custom`, all overlay options |
|
|
2005
|
+
| `notify.ts` | Simple notifications | `ui.notify` |
|
|
2006
|
+
| `timed-confirm.ts` | Dialogs with timeout | `ui.confirm` with timeout/signal |
|
|
2007
|
+
| `mac-system-theme.ts` | Auto-switch theme | `setTheme`, `exec` |
|
|
2008
|
+
| **Complex Extensions** |||
|
|
2009
|
+
| `plan-mode/` | Full plan mode implementation | All event types, `registerCommand`, `registerShortcut`, `registerFlag`, `setStatus`, `setWidget`, `sendMessage`, `setActiveTools` |
|
|
2010
|
+
| `preset.ts` | Saveable presets (model, tools, thinking) | `registerCommand`, `registerShortcut`, `registerFlag`, `setModel`, `setActiveTools`, `setThinkingLevel`, `appendEntry` |
|
|
2011
|
+
| `tools.ts` | Toggle tools on/off UI | `registerCommand`, `setActiveTools`, `SettingsList`, session events |
|
|
2012
|
+
| **Remote & Sandbox** |||
|
|
2013
|
+
| `ssh.ts` | SSH remote execution | `registerFlag`, `on("user_bash")`, `on("before_agent_start")`, tool operations |
|
|
2014
|
+
| `interactive-shell.ts` | Persistent shell session | `on("user_bash")` |
|
|
2015
|
+
| `sandbox/` | Sandboxed tool execution | Tool operations |
|
|
2016
|
+
| `subagent/` | Spawn sub-agents | `registerTool`, `exec` |
|
|
2017
|
+
| **Games** |||
|
|
2018
|
+
| `snake.ts` | Snake game | `registerCommand`, `ui.custom`, keyboard handling |
|
|
2019
|
+
| `space-invaders.ts` | Space Invaders game | `registerCommand`, `ui.custom` |
|
|
2020
|
+
| `doom-overlay/` | Doom in overlay | `ui.custom` with overlay |
|
|
2021
|
+
| **Providers** |||
|
|
2022
|
+
| `custom-provider-anthropic/` | Custom Anthropic proxy | `registerProvider` |
|
|
2023
|
+
| `custom-provider-gitlab-duo/` | GitLab Duo integration | `registerProvider` with OAuth |
|
|
2024
|
+
| **Messages & Communication** |||
|
|
2025
|
+
| `message-renderer.ts` | Custom message rendering | `registerMessageRenderer`, `sendMessage` |
|
|
2026
|
+
| `event-bus.ts` | Inter-extension events | `pi.events` |
|
|
2027
|
+
| **Session Metadata** |||
|
|
2028
|
+
| `session-name.ts` | Name sessions for selector | `setSessionName`, `getSessionName` |
|
|
2029
|
+
| `bookmark.ts` | Bookmark entries for /tree | `setLabel` |
|
|
2030
|
+
| **Misc** |||
|
|
2031
|
+
| `antigravity-image-gen.ts` | Image generation tool | `registerTool`, Google Antigravity |
|
|
2032
|
+
| `inline-bash.ts` | Inline bash in tool calls | `on("tool_call")` |
|
|
2033
|
+
| `bash-spawn-hook.ts` | Adjust bash command, cwd, and env before execution | `createBashTool`, `spawnHook` |
|
|
2034
|
+
| `with-deps/` | Extension with npm dependencies | Package structure with `package.json` |
|