@code-yeongyu/senpi 2026.5.20-4 → 2026.5.21
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/CHANGELOG.md +12 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +4 -10
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +10 -4
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session-runtime.d.ts.map +1 -1
- package/dist/core/agent-session-runtime.js +2 -3
- package/dist/core/agent-session-runtime.js.map +1 -1
- package/dist/core/http-dispatcher.d.ts +21 -0
- package/dist/core/http-dispatcher.d.ts.map +1 -0
- package/dist/core/http-dispatcher.js +48 -0
- package/dist/core/http-dispatcher.js.map +1 -0
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +2 -1
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/settings-manager.d.ts +3 -0
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +20 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +2 -0
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/settings-selector.d.ts +2 -0
- package/dist/modes/interactive/components/settings-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-selector.js +15 -0
- package/dist/modes/interactive/components/settings-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +10 -1
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/senpi +4 -10
- package/dist/utils/paths.d.ts +1 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +16 -0
- package/dist/utils/paths.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +2 -2
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +2 -2
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +3 -3
- package/node_modules/@earendil-works/pi-agent-core/README.md +488 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +24 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +610 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts +120 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.js +405 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/agent.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts +92 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js +904 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/agent-harness.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts +53 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js +174 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/branch-summarization.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts +95 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js +533 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/compaction.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts +25 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js +131 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/compaction/utils.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts +51 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js +486 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/env/nodejs.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts +52 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js +102 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/messages.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts +48 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js +230 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/prompt-templates.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts +26 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js +101 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-repo.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts +33 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js +231 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/jsonl-storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts +18 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js +42 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-repo.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts +25 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js +114 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/memory-storage.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts +11 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js +39 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/repo-utils.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts +32 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js +197 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/session.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js +50 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/session/uuid.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts +44 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js +311 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/skills.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts +3 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js +30 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/system-prompt.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts +604 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js +103 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts +14 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js +126 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/shell-output.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts +70 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js +290 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/harness/utils/truncate.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts +20 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/index.js +25 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts +3 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/node.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/node.js +3 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/node.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts +69 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/proxy.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js +278 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/proxy.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts +394 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/types.js +2 -0
- package/node_modules/@earendil-works/pi-agent-core/dist/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-agent-core/package.json +61 -0
- package/node_modules/@earendil-works/pi-ai/README.md +1386 -0
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.d.ts +20 -0
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.js +44 -0
- package/node_modules/@earendil-works/pi-ai/dist/api-registry.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.d.ts +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.js +6 -0
- package/node_modules/@earendil-works/pi-ai/dist/bedrock-provider.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.js +116 -0
- package/node_modules/@earendil-works/pi-ai/dist/cli.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js +178 -0
- package/node_modules/@earendil-works/pi-ai/dist/env-api-keys.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts +10 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts +440 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js +442 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.generated.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.js +23 -0
- package/node_modules/@earendil-works/pi-ai/dist/image-models.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts +14 -0
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/images-api-registry.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/images.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/images.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/images.js +14 -0
- package/node_modules/@earendil-works/pi-ai/dist/images.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts +33 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.js +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts +37 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts +17658 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js +16510 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.generated.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.js +114 -0
- package/node_modules/@earendil-works/pi-ai/dist/models.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/oauth.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/oauth.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/oauth.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts +38 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js +787 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts +52 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js +1127 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.d.ts +15 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js +229 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js +26 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/cloudflare.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.d.ts +66 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js +401 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/faux.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.d.ts +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.js +29 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/github-copilot-headers.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.d.ts +73 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.js +359 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-shared.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.d.ts +15 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js +465 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.js +431 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/google.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js +129 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/openrouter.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js +34 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/images/register-builtins.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.d.ts +25 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.js +542 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/mistral.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts +30 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js +1112 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-codex-responses.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js +977 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-completions.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.js +10 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-prompt-cache.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.d.ts +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js +579 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses-shared.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js +651 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openai-responses.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.d.ts +35 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.js +254 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/register-builtins.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts +38 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js +174 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/simple-options.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.d.ts +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.js +186 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/transform-messages.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/session-resources.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/session-resources.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/session-resources.js +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/session-resources.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/stream.d.ts +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/stream.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/stream.js +42 -0
- package/node_modules/@earendil-works/pi-ai/dist/stream.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.d.ts +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.js +161 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/context-transformer.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.js +23 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/gemma4.d.ts +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/gemma4.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/gemma4.js +559 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/gemma4.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/hermes.d.ts +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/hermes.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/hermes.js +69 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/hermes.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/json-mix.d.ts +12 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/json-mix.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/json-mix.js +570 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/json-mix.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/morph-xml.d.ts +15 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/morph-xml.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/morph-xml.js +935 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/morph-xml.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/xml-tool-tag-scanner.d.ts +14 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/xml-tool-tag-scanner.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/xml-tool-tag-scanner.js +54 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/xml-tool-tag-scanner.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/yaml-xml.d.ts +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/yaml-xml.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/yaml-xml.js +295 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/protocols/yaml-xml.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/stream-wrapper.d.ts +4 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/stream-wrapper.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/stream-wrapper.js +336 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/stream-wrapper.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.d.ts +103 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/tool-call-middleware/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts +543 -0
- package/node_modules/@earendil-works/pi-ai/dist/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/types.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.d.ts +19 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.js +25 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/diagnostics.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js +81 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/event-stream.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/hash.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/hash.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/hash.js +14 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/hash.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/headers.d.ts +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/headers.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/headers.js +8 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/headers.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.d.ts +16 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js +113 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/json-parse.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts +10 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js +97 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/node-http-proxy.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts +25 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js +335 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/anthropic.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts +30 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js +292 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/github-copilot.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts +57 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js +121 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.d.ts +3 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.js +105 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/oauth-page.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts +34 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js +385 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/openai-codex.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.d.ts +13 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.js +31 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/pkce.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts +57 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.js +2 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/oauth/types.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts +56 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js +151 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/overflow.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/sanitize-unicode.d.ts +22 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/sanitize-unicode.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/sanitize-unicode.js +26 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/sanitize-unicode.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/tool-pair-repair.d.ts +5 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/tool-pair-repair.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/tool-pair-repair.js +49 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/tool-pair-repair.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.d.ts +17 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js +21 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/typebox-helpers.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.d.ts +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js +281 -0
- package/node_modules/@earendil-works/pi-ai/dist/utils/validation.js.map +1 -0
- package/node_modules/@earendil-works/pi-ai/package.json +113 -0
- package/node_modules/@earendil-works/pi-tui/README.md +779 -0
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.d.ts +54 -0
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js +632 -0
- package/node_modules/@earendil-works/pi-tui/dist/autocomplete.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts +22 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/box.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js +104 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/box.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.d.ts +22 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.js +35 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/cancellable-loader.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts +249 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js +1916 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/editor.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts +28 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/image.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/image.js +89 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/image.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts +37 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/input.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js +426 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/input.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts +40 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js +95 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/loader.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts +90 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js +634 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/markdown.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts +50 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js +159 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/select-list.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts +50 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js +185 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/settings-list.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.d.ts +12 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.js +23 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/spacer.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/text.d.ts +19 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/text.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/text.js +89 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/text.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.d.ts +13 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.js +51 -0
- package/node_modules/@earendil-works/pi-tui/dist/components/truncated-text.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.d.ts +39 -0
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.js +2 -0
- package/node_modules/@earendil-works/pi-tui/dist/editor-component.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/fuzzy.d.ts +16 -0
- package/node_modules/@earendil-works/pi-tui/dist/fuzzy.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js +110 -0
- package/node_modules/@earendil-works/pi-tui/dist/fuzzy.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts +23 -0
- package/node_modules/@earendil-works/pi-tui/dist/index.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/index.js +32 -0
- package/node_modules/@earendil-works/pi-tui/dist/index.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.d.ts +193 -0
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js +174 -0
- package/node_modules/@earendil-works/pi-tui/dist/keybindings.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/keys.d.ts +184 -0
- package/node_modules/@earendil-works/pi-tui/dist/keys.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/keys.js +1173 -0
- package/node_modules/@earendil-works/pi-tui/dist/keys.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/kill-ring.d.ts +28 -0
- package/node_modules/@earendil-works/pi-tui/dist/kill-ring.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/kill-ring.js +44 -0
- package/node_modules/@earendil-works/pi-tui/dist/kill-ring.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts +50 -0
- package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js +361 -0
- package/node_modules/@earendil-works/pi-tui/dist/stdin-buffer.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts +90 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js +336 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal-image.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts +88 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js +329 -0
- package/node_modules/@earendil-works/pi-tui/dist/terminal.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts +231 -0
- package/node_modules/@earendil-works/pi-tui/dist/tui.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/tui.js +1230 -0
- package/node_modules/@earendil-works/pi-tui/dist/tui.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/undo-stack.d.ts +17 -0
- package/node_modules/@earendil-works/pi-tui/dist/undo-stack.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/undo-stack.js +25 -0
- package/node_modules/@earendil-works/pi-tui/dist/undo-stack.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts +79 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.d.ts.map +1 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.js +1031 -0
- package/node_modules/@earendil-works/pi-tui/dist/utils.js.map +1 -0
- package/node_modules/@earendil-works/pi-tui/package.json +48 -0
- package/node_modules/@smithy/node-http-handler/LICENSE +201 -0
- package/node_modules/@smithy/node-http-handler/README.md +9 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +724 -0
- package/node_modules/@smithy/node-http-handler/dist-es/constants.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +9 -0
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +216 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +87 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js +32 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +170 -0
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +88 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +36 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +22 -0
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +23 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +8 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +41 -0
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +21 -0
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +56 -0
- package/node_modules/@smithy/node-http-handler/dist-types/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +24 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +63 -0
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/constants.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +4 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/index.d.ts +3 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +46 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +24 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +63 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +5 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/index.d.ts +6 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +13 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +11 -0
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +11 -0
- package/node_modules/@smithy/node-http-handler/package.json +68 -0
- package/node_modules/@smithy/types/LICENSE +201 -0
- package/node_modules/@smithy/types/README.md +115 -0
- package/node_modules/@smithy/types/dist-cjs/index.js +91 -0
- package/node_modules/@smithy/types/dist-es/abort-handler.js +1 -0
- package/node_modules/@smithy/types/dist-es/abort.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/auth.js +5 -0
- package/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
- package/node_modules/@smithy/types/dist-es/blob/blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/checksum.js +1 -0
- package/node_modules/@smithy/types/dist-es/client.js +1 -0
- package/node_modules/@smithy/types/dist-es/command.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/config.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/connection/manager.js +1 -0
- package/node_modules/@smithy/types/dist-es/connection/pool.js +1 -0
- package/node_modules/@smithy/types/dist-es/crypto.js +1 -0
- package/node_modules/@smithy/types/dist-es/downlevel-ts3.4/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/encode.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoint.js +5 -0
- package/node_modules/@smithy/types/dist-es/endpoints/EndpointRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/ErrorRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/RuleSetObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/TreeRuleObject.js +1 -0
- package/node_modules/@smithy/types/dist-es/endpoints/index.js +5 -0
- package/node_modules/@smithy/types/dist-es/endpoints/shared.js +1 -0
- package/node_modules/@smithy/types/dist-es/eventStream.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +38 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +7 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +3 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/http/httpHandlerInitialization.js +1 -0
- package/node_modules/@smithy/types/dist-es/http.js +5 -0
- package/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/awsCredentialIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/identity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/index.js +4 -0
- package/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +42 -0
- package/node_modules/@smithy/types/dist-es/logger.js +1 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -0
- package/node_modules/@smithy/types/dist-es/pagination.js +1 -0
- package/node_modules/@smithy/types/dist-es/profile.js +6 -0
- package/node_modules/@smithy/types/dist-es/response.js +1 -0
- package/node_modules/@smithy/types/dist-es/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/schema-deprecated.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/schema.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/sentinels.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/static-schemas.js +1 -0
- package/node_modules/@smithy/types/dist-es/schema/traits.js +1 -0
- package/node_modules/@smithy/types/dist-es/serde.js +1 -0
- package/node_modules/@smithy/types/dist-es/shapes.js +1 -0
- package/node_modules/@smithy/types/dist-es/signature.js +1 -0
- package/node_modules/@smithy/types/dist-es/stream.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-common-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-input-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/streaming-payload/streaming-blob-payload-output-types.js +1 -0
- package/node_modules/@smithy/types/dist-es/transfer.js +6 -0
- package/node_modules/@smithy/types/dist-es/transform/client-method-transforms.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/client-payload-blob-type-narrow.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/mutable.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/no-undefined.js +1 -0
- package/node_modules/@smithy/types/dist-es/transform/type-transform.js +1 -0
- package/node_modules/@smithy/types/dist-es/uri.js +1 -0
- package/node_modules/@smithy/types/dist-es/util.js +1 -0
- package/node_modules/@smithy/types/dist-es/waiter.js +1 -0
- package/node_modules/@smithy/types/dist-types/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/abort.d.ts +50 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/auth/auth.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/checksum.d.ts +63 -0
- package/node_modules/@smithy/types/dist-types/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/connection/config.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/crypto.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/downlevel-ts3.4/transform/type-transform.d.ts +25 -0
- package/node_modules/@smithy/types/dist-types/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +128 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +112 -0
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +534 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/retry.d.ts +133 -0
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +136 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +230 -0
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/shapes.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/signature.d.ts +155 -0
- package/node_modules/@smithy/types/dist-types/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
- package/node_modules/@smithy/types/dist-types/transfer.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/transform/client-payload-blob-type-narrow.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +68 -0
- package/node_modules/@smithy/types/dist-types/transform/type-transform.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort-handler.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/abort.d.ts +50 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/auth.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/checksum.d.ts +63 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +57 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/config.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/manager.d.ts +34 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/connection/pool.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/crypto.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/downlevel-ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/encode.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +77 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/EndpointRuleObject.d.ts +27 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/ErrorRuleObject.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/RuleSetObject.d.ts +28 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/TreeRuleObject.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/index.d.ts +5 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoints/shared.d.ts +55 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/eventStream.d.ts +137 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +58 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +128 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +112 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/awsCredentialIdentity.d.ts +31 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/identity.d.ts +15 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +4 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +42 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/logger.d.ts +13 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +534 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +33 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/profile.d.ts +30 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/response.d.ts +40 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +133 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +142 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +245 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/sentinels.d.ts +65 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +101 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/traits.d.ts +46 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/serde.d.ts +114 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +82 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/signature.d.ts +155 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/stream.d.ts +22 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +32 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +60 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +51 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transfer.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-method-transforms.d.ts +26 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/client-payload-blob-type-narrow.d.ts +81 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/mutable.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +88 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/type-transform.d.ts +41 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/util.d.ts +192 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@smithy/types/dist-types/util.d.ts +176 -0
- package/node_modules/@smithy/types/dist-types/waiter.d.ts +35 -0
- package/node_modules/@smithy/types/package.json +61 -0
- package/node_modules/marked/LICENSE.md +44 -0
- package/node_modules/marked/README.md +106 -0
- package/node_modules/marked/bin/main.js +282 -0
- package/node_modules/marked/bin/marked.js +15 -0
- package/node_modules/marked/lib/marked.cjs +2211 -0
- package/node_modules/marked/lib/marked.cjs.map +7 -0
- package/node_modules/marked/lib/marked.d.cts +728 -0
- package/node_modules/marked/lib/marked.d.ts +728 -0
- package/node_modules/marked/lib/marked.esm.js +2189 -0
- package/node_modules/marked/lib/marked.esm.js.map +7 -0
- package/node_modules/marked/lib/marked.umd.js +2213 -0
- package/node_modules/marked/lib/marked.umd.js.map +7 -0
- package/node_modules/marked/man/marked.1 +111 -0
- package/node_modules/marked/man/marked.1.md +92 -0
- package/node_modules/marked/marked.min.js +69 -0
- package/node_modules/marked/package.json +111 -0
- package/npm-shrinkwrap.json +1841 -0
- package/package.json +49 -31
|
@@ -0,0 +1,728 @@
|
|
|
1
|
+
// Generated by dts-bundle-generator v9.5.1
|
|
2
|
+
|
|
3
|
+
export type MarkedToken = (Tokens.Blockquote | Tokens.Br | Tokens.Code | Tokens.Codespan | Tokens.Def | Tokens.Del | Tokens.Em | Tokens.Escape | Tokens.Heading | Tokens.Hr | Tokens.HTML | Tokens.Image | Tokens.Link | Tokens.List | Tokens.ListItem | Tokens.Paragraph | Tokens.Space | Tokens.Strong | Tokens.Table | Tokens.Tag | Tokens.Text);
|
|
4
|
+
export type Token = (MarkedToken | Tokens.Generic);
|
|
5
|
+
export declare namespace Tokens {
|
|
6
|
+
interface Blockquote {
|
|
7
|
+
type: "blockquote";
|
|
8
|
+
raw: string;
|
|
9
|
+
text: string;
|
|
10
|
+
tokens: Token[];
|
|
11
|
+
}
|
|
12
|
+
interface Br {
|
|
13
|
+
type: "br";
|
|
14
|
+
raw: string;
|
|
15
|
+
}
|
|
16
|
+
interface Checkbox {
|
|
17
|
+
checked: boolean;
|
|
18
|
+
}
|
|
19
|
+
interface Code {
|
|
20
|
+
type: "code";
|
|
21
|
+
raw: string;
|
|
22
|
+
codeBlockStyle?: "indented";
|
|
23
|
+
lang?: string;
|
|
24
|
+
text: string;
|
|
25
|
+
escaped?: boolean;
|
|
26
|
+
}
|
|
27
|
+
interface Codespan {
|
|
28
|
+
type: "codespan";
|
|
29
|
+
raw: string;
|
|
30
|
+
text: string;
|
|
31
|
+
}
|
|
32
|
+
interface Def {
|
|
33
|
+
type: "def";
|
|
34
|
+
raw: string;
|
|
35
|
+
tag: string;
|
|
36
|
+
href: string;
|
|
37
|
+
title: string;
|
|
38
|
+
}
|
|
39
|
+
interface Del {
|
|
40
|
+
type: "del";
|
|
41
|
+
raw: string;
|
|
42
|
+
text: string;
|
|
43
|
+
tokens: Token[];
|
|
44
|
+
}
|
|
45
|
+
interface Em {
|
|
46
|
+
type: "em";
|
|
47
|
+
raw: string;
|
|
48
|
+
text: string;
|
|
49
|
+
tokens: Token[];
|
|
50
|
+
}
|
|
51
|
+
interface Escape {
|
|
52
|
+
type: "escape";
|
|
53
|
+
raw: string;
|
|
54
|
+
text: string;
|
|
55
|
+
}
|
|
56
|
+
interface Generic {
|
|
57
|
+
[index: string]: any;
|
|
58
|
+
type: string;
|
|
59
|
+
raw: string;
|
|
60
|
+
tokens?: Token[];
|
|
61
|
+
}
|
|
62
|
+
interface Heading {
|
|
63
|
+
type: "heading";
|
|
64
|
+
raw: string;
|
|
65
|
+
depth: number;
|
|
66
|
+
text: string;
|
|
67
|
+
tokens: Token[];
|
|
68
|
+
}
|
|
69
|
+
interface Hr {
|
|
70
|
+
type: "hr";
|
|
71
|
+
raw: string;
|
|
72
|
+
}
|
|
73
|
+
interface HTML {
|
|
74
|
+
type: "html";
|
|
75
|
+
raw: string;
|
|
76
|
+
pre: boolean;
|
|
77
|
+
text: string;
|
|
78
|
+
block: boolean;
|
|
79
|
+
}
|
|
80
|
+
interface Image {
|
|
81
|
+
type: "image";
|
|
82
|
+
raw: string;
|
|
83
|
+
href: string;
|
|
84
|
+
title: string | null;
|
|
85
|
+
text: string;
|
|
86
|
+
tokens: Token[];
|
|
87
|
+
}
|
|
88
|
+
interface Link {
|
|
89
|
+
type: "link";
|
|
90
|
+
raw: string;
|
|
91
|
+
href: string;
|
|
92
|
+
title?: string | null;
|
|
93
|
+
text: string;
|
|
94
|
+
tokens: Token[];
|
|
95
|
+
}
|
|
96
|
+
interface List {
|
|
97
|
+
type: "list";
|
|
98
|
+
raw: string;
|
|
99
|
+
ordered: boolean;
|
|
100
|
+
start: number | "";
|
|
101
|
+
loose: boolean;
|
|
102
|
+
items: ListItem[];
|
|
103
|
+
}
|
|
104
|
+
interface ListItem {
|
|
105
|
+
type: "list_item";
|
|
106
|
+
raw: string;
|
|
107
|
+
task: boolean;
|
|
108
|
+
checked?: boolean;
|
|
109
|
+
loose: boolean;
|
|
110
|
+
text: string;
|
|
111
|
+
tokens: Token[];
|
|
112
|
+
}
|
|
113
|
+
interface Paragraph {
|
|
114
|
+
type: "paragraph";
|
|
115
|
+
raw: string;
|
|
116
|
+
pre?: boolean;
|
|
117
|
+
text: string;
|
|
118
|
+
tokens: Token[];
|
|
119
|
+
}
|
|
120
|
+
interface Space {
|
|
121
|
+
type: "space";
|
|
122
|
+
raw: string;
|
|
123
|
+
}
|
|
124
|
+
interface Strong {
|
|
125
|
+
type: "strong";
|
|
126
|
+
raw: string;
|
|
127
|
+
text: string;
|
|
128
|
+
tokens: Token[];
|
|
129
|
+
}
|
|
130
|
+
interface Table {
|
|
131
|
+
type: "table";
|
|
132
|
+
raw: string;
|
|
133
|
+
align: Array<"center" | "left" | "right" | null>;
|
|
134
|
+
header: TableCell[];
|
|
135
|
+
rows: TableCell[][];
|
|
136
|
+
}
|
|
137
|
+
interface TableCell {
|
|
138
|
+
text: string;
|
|
139
|
+
tokens: Token[];
|
|
140
|
+
header: boolean;
|
|
141
|
+
align: "center" | "left" | "right" | null;
|
|
142
|
+
}
|
|
143
|
+
interface TableRow {
|
|
144
|
+
text: string;
|
|
145
|
+
}
|
|
146
|
+
interface Tag {
|
|
147
|
+
type: "html";
|
|
148
|
+
raw: string;
|
|
149
|
+
inLink: boolean;
|
|
150
|
+
inRawBlock: boolean;
|
|
151
|
+
text: string;
|
|
152
|
+
block: boolean;
|
|
153
|
+
}
|
|
154
|
+
interface Text {
|
|
155
|
+
type: "text";
|
|
156
|
+
raw: string;
|
|
157
|
+
text: string;
|
|
158
|
+
tokens?: Token[];
|
|
159
|
+
escaped?: boolean;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
export type Links = Record<string, Pick<Tokens.Link | Tokens.Image, "href" | "title">>;
|
|
163
|
+
export type TokensList = Token[] & {
|
|
164
|
+
links: Links;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Renderer
|
|
168
|
+
*/
|
|
169
|
+
declare class _Renderer {
|
|
170
|
+
options: MarkedOptions;
|
|
171
|
+
parser: _Parser;
|
|
172
|
+
constructor(options?: MarkedOptions);
|
|
173
|
+
space(token: Tokens.Space): string;
|
|
174
|
+
code({ text, lang, escaped }: Tokens.Code): string;
|
|
175
|
+
blockquote({ tokens }: Tokens.Blockquote): string;
|
|
176
|
+
html({ text }: Tokens.HTML | Tokens.Tag): string;
|
|
177
|
+
heading({ tokens, depth }: Tokens.Heading): string;
|
|
178
|
+
hr(token: Tokens.Hr): string;
|
|
179
|
+
list(token: Tokens.List): string;
|
|
180
|
+
listitem(item: Tokens.ListItem): string;
|
|
181
|
+
checkbox({ checked }: Tokens.Checkbox): string;
|
|
182
|
+
paragraph({ tokens }: Tokens.Paragraph): string;
|
|
183
|
+
table(token: Tokens.Table): string;
|
|
184
|
+
tablerow({ text }: Tokens.TableRow): string;
|
|
185
|
+
tablecell(token: Tokens.TableCell): string;
|
|
186
|
+
/**
|
|
187
|
+
* span level renderer
|
|
188
|
+
*/
|
|
189
|
+
strong({ tokens }: Tokens.Strong): string;
|
|
190
|
+
em({ tokens }: Tokens.Em): string;
|
|
191
|
+
codespan({ text }: Tokens.Codespan): string;
|
|
192
|
+
br(token: Tokens.Br): string;
|
|
193
|
+
del({ tokens }: Tokens.Del): string;
|
|
194
|
+
link({ href, title, tokens }: Tokens.Link): string;
|
|
195
|
+
image({ href, title, text, tokens }: Tokens.Image): string;
|
|
196
|
+
text(token: Tokens.Text | Tokens.Escape): string;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* TextRenderer
|
|
200
|
+
* returns only the textual part of the token
|
|
201
|
+
*/
|
|
202
|
+
declare class _TextRenderer {
|
|
203
|
+
strong({ text }: Tokens.Strong): string;
|
|
204
|
+
em({ text }: Tokens.Em): string;
|
|
205
|
+
codespan({ text }: Tokens.Codespan): string;
|
|
206
|
+
del({ text }: Tokens.Del): string;
|
|
207
|
+
html({ text }: Tokens.HTML | Tokens.Tag): string;
|
|
208
|
+
text({ text }: Tokens.Text | Tokens.Escape | Tokens.Tag): string;
|
|
209
|
+
link({ text }: Tokens.Link): string;
|
|
210
|
+
image({ text }: Tokens.Image): string;
|
|
211
|
+
br(): string;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
* Parsing & Compiling
|
|
215
|
+
*/
|
|
216
|
+
declare class _Parser {
|
|
217
|
+
options: MarkedOptions;
|
|
218
|
+
renderer: _Renderer;
|
|
219
|
+
textRenderer: _TextRenderer;
|
|
220
|
+
constructor(options?: MarkedOptions);
|
|
221
|
+
/**
|
|
222
|
+
* Static Parse Method
|
|
223
|
+
*/
|
|
224
|
+
static parse(tokens: Token[], options?: MarkedOptions): string;
|
|
225
|
+
/**
|
|
226
|
+
* Static Parse Inline Method
|
|
227
|
+
*/
|
|
228
|
+
static parseInline(tokens: Token[], options?: MarkedOptions): string;
|
|
229
|
+
/**
|
|
230
|
+
* Parse Loop
|
|
231
|
+
*/
|
|
232
|
+
parse(tokens: Token[], top?: boolean): string;
|
|
233
|
+
/**
|
|
234
|
+
* Parse Inline Tokens
|
|
235
|
+
*/
|
|
236
|
+
parseInline(tokens: Token[], renderer?: _Renderer | _TextRenderer): string;
|
|
237
|
+
}
|
|
238
|
+
declare const other: {
|
|
239
|
+
codeRemoveIndent: RegExp;
|
|
240
|
+
outputLinkReplace: RegExp;
|
|
241
|
+
indentCodeCompensation: RegExp;
|
|
242
|
+
beginningSpace: RegExp;
|
|
243
|
+
endingHash: RegExp;
|
|
244
|
+
startingSpaceChar: RegExp;
|
|
245
|
+
endingSpaceChar: RegExp;
|
|
246
|
+
nonSpaceChar: RegExp;
|
|
247
|
+
newLineCharGlobal: RegExp;
|
|
248
|
+
tabCharGlobal: RegExp;
|
|
249
|
+
multipleSpaceGlobal: RegExp;
|
|
250
|
+
blankLine: RegExp;
|
|
251
|
+
doubleBlankLine: RegExp;
|
|
252
|
+
blockquoteStart: RegExp;
|
|
253
|
+
blockquoteSetextReplace: RegExp;
|
|
254
|
+
blockquoteSetextReplace2: RegExp;
|
|
255
|
+
listReplaceTabs: RegExp;
|
|
256
|
+
listReplaceNesting: RegExp;
|
|
257
|
+
listIsTask: RegExp;
|
|
258
|
+
listReplaceTask: RegExp;
|
|
259
|
+
anyLine: RegExp;
|
|
260
|
+
hrefBrackets: RegExp;
|
|
261
|
+
tableDelimiter: RegExp;
|
|
262
|
+
tableAlignChars: RegExp;
|
|
263
|
+
tableRowBlankLine: RegExp;
|
|
264
|
+
tableAlignRight: RegExp;
|
|
265
|
+
tableAlignCenter: RegExp;
|
|
266
|
+
tableAlignLeft: RegExp;
|
|
267
|
+
startATag: RegExp;
|
|
268
|
+
endATag: RegExp;
|
|
269
|
+
startPreScriptTag: RegExp;
|
|
270
|
+
endPreScriptTag: RegExp;
|
|
271
|
+
startAngleBracket: RegExp;
|
|
272
|
+
endAngleBracket: RegExp;
|
|
273
|
+
pedanticHrefTitle: RegExp;
|
|
274
|
+
unicodeAlphaNumeric: RegExp;
|
|
275
|
+
escapeTest: RegExp;
|
|
276
|
+
escapeReplace: RegExp;
|
|
277
|
+
escapeTestNoEncode: RegExp;
|
|
278
|
+
escapeReplaceNoEncode: RegExp;
|
|
279
|
+
unescapeTest: RegExp;
|
|
280
|
+
caret: RegExp;
|
|
281
|
+
percentDecode: RegExp;
|
|
282
|
+
findPipe: RegExp;
|
|
283
|
+
splitPipe: RegExp;
|
|
284
|
+
slashPipe: RegExp;
|
|
285
|
+
carriageReturn: RegExp;
|
|
286
|
+
spaceLine: RegExp;
|
|
287
|
+
notSpaceStart: RegExp;
|
|
288
|
+
endingNewline: RegExp;
|
|
289
|
+
listItemRegex: (bull: string) => RegExp;
|
|
290
|
+
nextBulletRegex: (indent: number) => RegExp;
|
|
291
|
+
hrRegex: (indent: number) => RegExp;
|
|
292
|
+
fencesBeginRegex: (indent: number) => RegExp;
|
|
293
|
+
headingBeginRegex: (indent: number) => RegExp;
|
|
294
|
+
htmlBeginRegex: (indent: number) => RegExp;
|
|
295
|
+
};
|
|
296
|
+
declare const blockNormal: {
|
|
297
|
+
blockquote: RegExp;
|
|
298
|
+
code: RegExp;
|
|
299
|
+
def: RegExp;
|
|
300
|
+
fences: RegExp;
|
|
301
|
+
heading: RegExp;
|
|
302
|
+
hr: RegExp;
|
|
303
|
+
html: RegExp;
|
|
304
|
+
lheading: RegExp;
|
|
305
|
+
list: RegExp;
|
|
306
|
+
newline: RegExp;
|
|
307
|
+
paragraph: RegExp;
|
|
308
|
+
table: RegExp;
|
|
309
|
+
text: RegExp;
|
|
310
|
+
};
|
|
311
|
+
export type BlockKeys = keyof typeof blockNormal;
|
|
312
|
+
declare const inlineNormal: {
|
|
313
|
+
_backpedal: RegExp;
|
|
314
|
+
anyPunctuation: RegExp;
|
|
315
|
+
autolink: RegExp;
|
|
316
|
+
blockSkip: RegExp;
|
|
317
|
+
br: RegExp;
|
|
318
|
+
code: RegExp;
|
|
319
|
+
del: RegExp;
|
|
320
|
+
emStrongLDelim: RegExp;
|
|
321
|
+
emStrongRDelimAst: RegExp;
|
|
322
|
+
emStrongRDelimUnd: RegExp;
|
|
323
|
+
escape: RegExp;
|
|
324
|
+
link: RegExp;
|
|
325
|
+
nolink: RegExp;
|
|
326
|
+
punctuation: RegExp;
|
|
327
|
+
reflink: RegExp;
|
|
328
|
+
reflinkSearch: RegExp;
|
|
329
|
+
tag: RegExp;
|
|
330
|
+
text: RegExp;
|
|
331
|
+
url: RegExp;
|
|
332
|
+
};
|
|
333
|
+
export type InlineKeys = keyof typeof inlineNormal;
|
|
334
|
+
export interface Rules {
|
|
335
|
+
other: typeof other;
|
|
336
|
+
block: Record<BlockKeys, RegExp>;
|
|
337
|
+
inline: Record<InlineKeys, RegExp>;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Tokenizer
|
|
341
|
+
*/
|
|
342
|
+
declare class _Tokenizer {
|
|
343
|
+
options: MarkedOptions;
|
|
344
|
+
rules: Rules;
|
|
345
|
+
lexer: _Lexer;
|
|
346
|
+
constructor(options?: MarkedOptions);
|
|
347
|
+
space(src: string): Tokens.Space | undefined;
|
|
348
|
+
code(src: string): Tokens.Code | undefined;
|
|
349
|
+
fences(src: string): Tokens.Code | undefined;
|
|
350
|
+
heading(src: string): Tokens.Heading | undefined;
|
|
351
|
+
hr(src: string): Tokens.Hr | undefined;
|
|
352
|
+
blockquote(src: string): Tokens.Blockquote | undefined;
|
|
353
|
+
list(src: string): Tokens.List | undefined;
|
|
354
|
+
html(src: string): Tokens.HTML | undefined;
|
|
355
|
+
def(src: string): Tokens.Def | undefined;
|
|
356
|
+
table(src: string): Tokens.Table | undefined;
|
|
357
|
+
lheading(src: string): Tokens.Heading | undefined;
|
|
358
|
+
paragraph(src: string): Tokens.Paragraph | undefined;
|
|
359
|
+
text(src: string): Tokens.Text | undefined;
|
|
360
|
+
escape(src: string): Tokens.Escape | undefined;
|
|
361
|
+
tag(src: string): Tokens.Tag | undefined;
|
|
362
|
+
link(src: string): Tokens.Link | Tokens.Image | undefined;
|
|
363
|
+
reflink(src: string, links: Links): Tokens.Link | Tokens.Image | Tokens.Text | undefined;
|
|
364
|
+
emStrong(src: string, maskedSrc: string, prevChar?: string): Tokens.Em | Tokens.Strong | undefined;
|
|
365
|
+
codespan(src: string): Tokens.Codespan | undefined;
|
|
366
|
+
br(src: string): Tokens.Br | undefined;
|
|
367
|
+
del(src: string): Tokens.Del | undefined;
|
|
368
|
+
autolink(src: string): Tokens.Link | undefined;
|
|
369
|
+
url(src: string): Tokens.Link | undefined;
|
|
370
|
+
inlineText(src: string): Tokens.Text | undefined;
|
|
371
|
+
}
|
|
372
|
+
declare class _Hooks {
|
|
373
|
+
options: MarkedOptions;
|
|
374
|
+
block?: boolean;
|
|
375
|
+
constructor(options?: MarkedOptions);
|
|
376
|
+
static passThroughHooks: Set<string>;
|
|
377
|
+
/**
|
|
378
|
+
* Process markdown before marked
|
|
379
|
+
*/
|
|
380
|
+
preprocess(markdown: string): string;
|
|
381
|
+
/**
|
|
382
|
+
* Process HTML after marked is finished
|
|
383
|
+
*/
|
|
384
|
+
postprocess(html: string): string;
|
|
385
|
+
/**
|
|
386
|
+
* Process all tokens before walk tokens
|
|
387
|
+
*/
|
|
388
|
+
processAllTokens(tokens: Token[] | TokensList): Token[] | TokensList;
|
|
389
|
+
/**
|
|
390
|
+
* Provide function to tokenize markdown
|
|
391
|
+
*/
|
|
392
|
+
provideLexer(): typeof _Lexer.lexInline;
|
|
393
|
+
/**
|
|
394
|
+
* Provide function to parse tokens
|
|
395
|
+
*/
|
|
396
|
+
provideParser(): typeof _Parser.parse;
|
|
397
|
+
}
|
|
398
|
+
export interface TokenizerThis {
|
|
399
|
+
lexer: _Lexer;
|
|
400
|
+
}
|
|
401
|
+
export type TokenizerExtensionFunction = (this: TokenizerThis, src: string, tokens: Token[] | TokensList) => Tokens.Generic | undefined;
|
|
402
|
+
export type TokenizerStartFunction = (this: TokenizerThis, src: string) => number | void;
|
|
403
|
+
export interface TokenizerExtension {
|
|
404
|
+
name: string;
|
|
405
|
+
level: "block" | "inline";
|
|
406
|
+
start?: TokenizerStartFunction;
|
|
407
|
+
tokenizer: TokenizerExtensionFunction;
|
|
408
|
+
childTokens?: string[];
|
|
409
|
+
}
|
|
410
|
+
export interface RendererThis {
|
|
411
|
+
parser: _Parser;
|
|
412
|
+
}
|
|
413
|
+
export type RendererExtensionFunction = (this: RendererThis, token: Tokens.Generic) => string | false | undefined;
|
|
414
|
+
export interface RendererExtension {
|
|
415
|
+
name: string;
|
|
416
|
+
renderer: RendererExtensionFunction;
|
|
417
|
+
}
|
|
418
|
+
export type TokenizerAndRendererExtension = TokenizerExtension | RendererExtension | (TokenizerExtension & RendererExtension);
|
|
419
|
+
export type HooksApi = Omit<_Hooks, "constructor" | "options" | "block">;
|
|
420
|
+
export type HooksObject = {
|
|
421
|
+
[K in keyof HooksApi]?: (this: _Hooks, ...args: Parameters<HooksApi[K]>) => ReturnType<HooksApi[K]> | Promise<ReturnType<HooksApi[K]>>;
|
|
422
|
+
};
|
|
423
|
+
export type RendererApi = Omit<_Renderer, "constructor" | "options" | "parser">;
|
|
424
|
+
export type RendererObject = {
|
|
425
|
+
[K in keyof RendererApi]?: (this: _Renderer, ...args: Parameters<RendererApi[K]>) => ReturnType<RendererApi[K]> | false;
|
|
426
|
+
};
|
|
427
|
+
export type TokenizerApi = Omit<_Tokenizer, "constructor" | "options" | "rules" | "lexer">;
|
|
428
|
+
export type TokenizerObject = {
|
|
429
|
+
[K in keyof TokenizerApi]?: (this: _Tokenizer, ...args: Parameters<TokenizerApi[K]>) => ReturnType<TokenizerApi[K]> | false;
|
|
430
|
+
};
|
|
431
|
+
export interface MarkedExtension {
|
|
432
|
+
/**
|
|
433
|
+
* True will tell marked to await any walkTokens functions before parsing the tokens and returning an HTML string.
|
|
434
|
+
*/
|
|
435
|
+
async?: boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Enable GFM line breaks. This option requires the gfm option to be true.
|
|
438
|
+
*/
|
|
439
|
+
breaks?: boolean;
|
|
440
|
+
/**
|
|
441
|
+
* Add tokenizers and renderers to marked
|
|
442
|
+
*/
|
|
443
|
+
extensions?: TokenizerAndRendererExtension[] | null;
|
|
444
|
+
/**
|
|
445
|
+
* Enable GitHub flavored markdown.
|
|
446
|
+
*/
|
|
447
|
+
gfm?: boolean;
|
|
448
|
+
/**
|
|
449
|
+
* Hooks are methods that hook into some part of marked.
|
|
450
|
+
* preprocess is called to process markdown before sending it to marked.
|
|
451
|
+
* processAllTokens is called with the TokensList before walkTokens.
|
|
452
|
+
* postprocess is called to process html after marked has finished parsing.
|
|
453
|
+
* provideLexer is called to provide a function to tokenize markdown.
|
|
454
|
+
* provideParser is called to provide a function to parse tokens.
|
|
455
|
+
*/
|
|
456
|
+
hooks?: HooksObject | null;
|
|
457
|
+
/**
|
|
458
|
+
* Conform to obscure parts of markdown.pl as much as possible. Don't fix any of the original markdown bugs or poor behavior.
|
|
459
|
+
*/
|
|
460
|
+
pedantic?: boolean;
|
|
461
|
+
/**
|
|
462
|
+
* Type: object Default: new Renderer()
|
|
463
|
+
*
|
|
464
|
+
* An object containing functions to render tokens to HTML.
|
|
465
|
+
*/
|
|
466
|
+
renderer?: RendererObject | null;
|
|
467
|
+
/**
|
|
468
|
+
* Shows an HTML error message when rendering fails.
|
|
469
|
+
*/
|
|
470
|
+
silent?: boolean;
|
|
471
|
+
/**
|
|
472
|
+
* The tokenizer defines how to turn markdown text into tokens.
|
|
473
|
+
*/
|
|
474
|
+
tokenizer?: TokenizerObject | null;
|
|
475
|
+
/**
|
|
476
|
+
* The walkTokens function gets called with every token.
|
|
477
|
+
* Child tokens are called before moving on to sibling tokens.
|
|
478
|
+
* Each token is passed by reference so updates are persisted when passed to the parser.
|
|
479
|
+
* The return value of the function is ignored.
|
|
480
|
+
*/
|
|
481
|
+
walkTokens?: ((token: Token) => void | Promise<void>) | null;
|
|
482
|
+
}
|
|
483
|
+
export interface MarkedOptions extends Omit<MarkedExtension, "hooks" | "renderer" | "tokenizer" | "extensions" | "walkTokens"> {
|
|
484
|
+
/**
|
|
485
|
+
* Hooks are methods that hook into some part of marked.
|
|
486
|
+
*/
|
|
487
|
+
hooks?: _Hooks | null;
|
|
488
|
+
/**
|
|
489
|
+
* Type: object Default: new Renderer()
|
|
490
|
+
*
|
|
491
|
+
* An object containing functions to render tokens to HTML.
|
|
492
|
+
*/
|
|
493
|
+
renderer?: _Renderer | null;
|
|
494
|
+
/**
|
|
495
|
+
* The tokenizer defines how to turn markdown text into tokens.
|
|
496
|
+
*/
|
|
497
|
+
tokenizer?: _Tokenizer | null;
|
|
498
|
+
/**
|
|
499
|
+
* Custom extensions
|
|
500
|
+
*/
|
|
501
|
+
extensions?: null | {
|
|
502
|
+
renderers: {
|
|
503
|
+
[name: string]: RendererExtensionFunction;
|
|
504
|
+
};
|
|
505
|
+
childTokens: {
|
|
506
|
+
[name: string]: string[];
|
|
507
|
+
};
|
|
508
|
+
inline?: TokenizerExtensionFunction[];
|
|
509
|
+
block?: TokenizerExtensionFunction[];
|
|
510
|
+
startInline?: TokenizerStartFunction[];
|
|
511
|
+
startBlock?: TokenizerStartFunction[];
|
|
512
|
+
};
|
|
513
|
+
/**
|
|
514
|
+
* walkTokens function returns array of values for Promise.all
|
|
515
|
+
*/
|
|
516
|
+
walkTokens?: null | ((token: Token) => void | Promise<void> | (void | Promise<void>)[]);
|
|
517
|
+
}
|
|
518
|
+
/**
|
|
519
|
+
* Block Lexer
|
|
520
|
+
*/
|
|
521
|
+
declare class _Lexer {
|
|
522
|
+
tokens: TokensList;
|
|
523
|
+
options: MarkedOptions;
|
|
524
|
+
state: {
|
|
525
|
+
inLink: boolean;
|
|
526
|
+
inRawBlock: boolean;
|
|
527
|
+
top: boolean;
|
|
528
|
+
};
|
|
529
|
+
private tokenizer;
|
|
530
|
+
private inlineQueue;
|
|
531
|
+
constructor(options?: MarkedOptions);
|
|
532
|
+
/**
|
|
533
|
+
* Expose Rules
|
|
534
|
+
*/
|
|
535
|
+
static get rules(): {
|
|
536
|
+
block: {
|
|
537
|
+
normal: {
|
|
538
|
+
blockquote: RegExp;
|
|
539
|
+
code: RegExp;
|
|
540
|
+
def: RegExp;
|
|
541
|
+
fences: RegExp;
|
|
542
|
+
heading: RegExp;
|
|
543
|
+
hr: RegExp;
|
|
544
|
+
html: RegExp;
|
|
545
|
+
lheading: RegExp;
|
|
546
|
+
list: RegExp;
|
|
547
|
+
newline: RegExp;
|
|
548
|
+
paragraph: RegExp;
|
|
549
|
+
table: RegExp;
|
|
550
|
+
text: RegExp;
|
|
551
|
+
};
|
|
552
|
+
gfm: Record<"code" | "blockquote" | "hr" | "html" | "table" | "text" | "def" | "heading" | "list" | "paragraph" | "fences" | "lheading" | "newline", RegExp>;
|
|
553
|
+
pedantic: Record<"code" | "blockquote" | "hr" | "html" | "table" | "text" | "def" | "heading" | "list" | "paragraph" | "fences" | "lheading" | "newline", RegExp>;
|
|
554
|
+
};
|
|
555
|
+
inline: {
|
|
556
|
+
normal: {
|
|
557
|
+
_backpedal: RegExp;
|
|
558
|
+
anyPunctuation: RegExp;
|
|
559
|
+
autolink: RegExp;
|
|
560
|
+
blockSkip: RegExp;
|
|
561
|
+
br: RegExp;
|
|
562
|
+
code: RegExp;
|
|
563
|
+
del: RegExp;
|
|
564
|
+
emStrongLDelim: RegExp;
|
|
565
|
+
emStrongRDelimAst: RegExp;
|
|
566
|
+
emStrongRDelimUnd: RegExp;
|
|
567
|
+
escape: RegExp;
|
|
568
|
+
link: RegExp;
|
|
569
|
+
nolink: RegExp;
|
|
570
|
+
punctuation: RegExp;
|
|
571
|
+
reflink: RegExp;
|
|
572
|
+
reflinkSearch: RegExp;
|
|
573
|
+
tag: RegExp;
|
|
574
|
+
text: RegExp;
|
|
575
|
+
url: RegExp;
|
|
576
|
+
};
|
|
577
|
+
gfm: Record<"link" | "code" | "url" | "br" | "del" | "text" | "escape" | "tag" | "reflink" | "nolink" | "_backpedal" | "anyPunctuation" | "autolink" | "blockSkip" | "emStrongLDelim" | "emStrongRDelimAst" | "emStrongRDelimUnd" | "punctuation" | "reflinkSearch", RegExp>;
|
|
578
|
+
breaks: Record<"link" | "code" | "url" | "br" | "del" | "text" | "escape" | "tag" | "reflink" | "nolink" | "_backpedal" | "anyPunctuation" | "autolink" | "blockSkip" | "emStrongLDelim" | "emStrongRDelimAst" | "emStrongRDelimUnd" | "punctuation" | "reflinkSearch", RegExp>;
|
|
579
|
+
pedantic: Record<"link" | "code" | "url" | "br" | "del" | "text" | "escape" | "tag" | "reflink" | "nolink" | "_backpedal" | "anyPunctuation" | "autolink" | "blockSkip" | "emStrongLDelim" | "emStrongRDelimAst" | "emStrongRDelimUnd" | "punctuation" | "reflinkSearch", RegExp>;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
/**
|
|
583
|
+
* Static Lex Method
|
|
584
|
+
*/
|
|
585
|
+
static lex(src: string, options?: MarkedOptions): TokensList;
|
|
586
|
+
/**
|
|
587
|
+
* Static Lex Inline Method
|
|
588
|
+
*/
|
|
589
|
+
static lexInline(src: string, options?: MarkedOptions): Token[];
|
|
590
|
+
/**
|
|
591
|
+
* Preprocessing
|
|
592
|
+
*/
|
|
593
|
+
lex(src: string): TokensList;
|
|
594
|
+
/**
|
|
595
|
+
* Lexing
|
|
596
|
+
*/
|
|
597
|
+
blockTokens(src: string, tokens?: Token[], lastParagraphClipped?: boolean): Token[];
|
|
598
|
+
blockTokens(src: string, tokens?: TokensList, lastParagraphClipped?: boolean): TokensList;
|
|
599
|
+
inline(src: string, tokens?: Token[]): Token[];
|
|
600
|
+
/**
|
|
601
|
+
* Lexing/Compiling
|
|
602
|
+
*/
|
|
603
|
+
inlineTokens(src: string, tokens?: Token[]): Token[];
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* Gets the original marked default options.
|
|
607
|
+
*/
|
|
608
|
+
declare function _getDefaults(): MarkedOptions;
|
|
609
|
+
declare let _defaults: MarkedOptions;
|
|
610
|
+
export type MaybePromise = void | Promise<void>;
|
|
611
|
+
export declare class Marked {
|
|
612
|
+
defaults: MarkedOptions;
|
|
613
|
+
options: (opt: MarkedOptions) => this;
|
|
614
|
+
parse: {
|
|
615
|
+
(src: string, options: MarkedOptions & {
|
|
616
|
+
async: true;
|
|
617
|
+
}): Promise<string>;
|
|
618
|
+
(src: string, options: MarkedOptions & {
|
|
619
|
+
async: false;
|
|
620
|
+
}): string;
|
|
621
|
+
(src: string, options?: MarkedOptions | null): string | Promise<string>;
|
|
622
|
+
};
|
|
623
|
+
parseInline: {
|
|
624
|
+
(src: string, options: MarkedOptions & {
|
|
625
|
+
async: true;
|
|
626
|
+
}): Promise<string>;
|
|
627
|
+
(src: string, options: MarkedOptions & {
|
|
628
|
+
async: false;
|
|
629
|
+
}): string;
|
|
630
|
+
(src: string, options?: MarkedOptions | null): string | Promise<string>;
|
|
631
|
+
};
|
|
632
|
+
Parser: typeof _Parser;
|
|
633
|
+
Renderer: typeof _Renderer;
|
|
634
|
+
TextRenderer: typeof _TextRenderer;
|
|
635
|
+
Lexer: typeof _Lexer;
|
|
636
|
+
Tokenizer: typeof _Tokenizer;
|
|
637
|
+
Hooks: typeof _Hooks;
|
|
638
|
+
constructor(...args: MarkedExtension[]);
|
|
639
|
+
/**
|
|
640
|
+
* Run callback for every token
|
|
641
|
+
*/
|
|
642
|
+
walkTokens(tokens: Token[] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise[]): MaybePromise[];
|
|
643
|
+
use(...args: MarkedExtension[]): this;
|
|
644
|
+
setOptions(opt: MarkedOptions): this;
|
|
645
|
+
lexer(src: string, options?: MarkedOptions): TokensList;
|
|
646
|
+
parser(tokens: Token[], options?: MarkedOptions): string;
|
|
647
|
+
private parseMarkdown;
|
|
648
|
+
private onError;
|
|
649
|
+
}
|
|
650
|
+
/**
|
|
651
|
+
* Compiles markdown to HTML asynchronously.
|
|
652
|
+
*
|
|
653
|
+
* @param src String of markdown source to be compiled
|
|
654
|
+
* @param options Hash of options, having async: true
|
|
655
|
+
* @return Promise of string of compiled HTML
|
|
656
|
+
*/
|
|
657
|
+
export declare function marked(src: string, options: MarkedOptions & {
|
|
658
|
+
async: true;
|
|
659
|
+
}): Promise<string>;
|
|
660
|
+
/**
|
|
661
|
+
* Compiles markdown to HTML.
|
|
662
|
+
*
|
|
663
|
+
* @param src String of markdown source to be compiled
|
|
664
|
+
* @param options Optional hash of options
|
|
665
|
+
* @return String of compiled HTML. Will be a Promise of string if async is set to true by any extensions.
|
|
666
|
+
*/
|
|
667
|
+
export declare function marked(src: string, options: MarkedOptions & {
|
|
668
|
+
async: false;
|
|
669
|
+
}): string;
|
|
670
|
+
export declare function marked(src: string, options: MarkedOptions & {
|
|
671
|
+
async: true;
|
|
672
|
+
}): Promise<string>;
|
|
673
|
+
export declare function marked(src: string, options?: MarkedOptions | null): string | Promise<string>;
|
|
674
|
+
export declare namespace marked {
|
|
675
|
+
var options: (options: MarkedOptions) => typeof marked;
|
|
676
|
+
var setOptions: (options: MarkedOptions) => typeof marked;
|
|
677
|
+
var getDefaults: typeof _getDefaults;
|
|
678
|
+
var defaults: MarkedOptions;
|
|
679
|
+
var use: (...args: MarkedExtension[]) => typeof marked;
|
|
680
|
+
var walkTokens: (tokens: Token[] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise[]) => MaybePromise[];
|
|
681
|
+
var parseInline: {
|
|
682
|
+
(src: string, options: MarkedOptions & {
|
|
683
|
+
async: true;
|
|
684
|
+
}): Promise<string>;
|
|
685
|
+
(src: string, options: MarkedOptions & {
|
|
686
|
+
async: false;
|
|
687
|
+
}): string;
|
|
688
|
+
(src: string, options?: MarkedOptions | null): string | Promise<string>;
|
|
689
|
+
};
|
|
690
|
+
var Parser: typeof _Parser;
|
|
691
|
+
var parser: typeof _Parser.parse;
|
|
692
|
+
var Renderer: typeof _Renderer;
|
|
693
|
+
var TextRenderer: typeof _TextRenderer;
|
|
694
|
+
var Lexer: typeof _Lexer;
|
|
695
|
+
var lexer: typeof _Lexer.lex;
|
|
696
|
+
var Tokenizer: typeof _Tokenizer;
|
|
697
|
+
var Hooks: typeof _Hooks;
|
|
698
|
+
var parse: typeof marked;
|
|
699
|
+
}
|
|
700
|
+
export declare const options: (options: MarkedOptions) => typeof marked;
|
|
701
|
+
export declare const setOptions: (options: MarkedOptions) => typeof marked;
|
|
702
|
+
export declare const use: (...args: MarkedExtension[]) => typeof marked;
|
|
703
|
+
export declare const walkTokens: (tokens: Token[] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise[]) => MaybePromise[];
|
|
704
|
+
export declare const parseInline: {
|
|
705
|
+
(src: string, options: MarkedOptions & {
|
|
706
|
+
async: true;
|
|
707
|
+
}): Promise<string>;
|
|
708
|
+
(src: string, options: MarkedOptions & {
|
|
709
|
+
async: false;
|
|
710
|
+
}): string;
|
|
711
|
+
(src: string, options?: MarkedOptions | null): string | Promise<string>;
|
|
712
|
+
};
|
|
713
|
+
export declare const parse: typeof marked;
|
|
714
|
+
export declare const parser: typeof _Parser.parse;
|
|
715
|
+
export declare const lexer: typeof _Lexer.lex;
|
|
716
|
+
|
|
717
|
+
export {
|
|
718
|
+
_Hooks as Hooks,
|
|
719
|
+
_Lexer as Lexer,
|
|
720
|
+
_Parser as Parser,
|
|
721
|
+
_Renderer as Renderer,
|
|
722
|
+
_TextRenderer as TextRenderer,
|
|
723
|
+
_Tokenizer as Tokenizer,
|
|
724
|
+
_defaults as defaults,
|
|
725
|
+
_getDefaults as getDefaults,
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
export {};
|