@agimon-ai/po-web-components 0.0.0-alpha.2 → 0.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/node_modules/.pnpm/{@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CfX6zgs1.d.mts → @modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts} +5 -6
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.3.1/node_modules/@modelcontextprotocol/server/dist/index.d.mts +2 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.mts +8 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.mts +21 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.mts +15 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.mts +169 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.mts +38 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.mts +63 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.mts +50 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/errors.d.mts +3 -87
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/errors.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/json-schema.d.mts +1 -26
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/json-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/registries.d.mts +3 -7
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/registries.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/schemas.d.mts +10 -405
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/schemas.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/standard-schema.d.mts +1 -1
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/standard-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/to-json-schema.d.mts +4 -33
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/to-json-schema.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.mts +38 -0
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/util.d.mts.map +1 -0
- package/dist/node_modules/.pnpm/{zod@4.6.5 → zod@4.6.6}/node_modules/zod/v4/core/versions.d.mts +1 -1
- package/dist/node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/versions.d.mts.map +1 -0
- package/dist/packages/core/po-core/dist/mcpWidget.d.mts +2 -2
- package/dist/packages/core/po-core/dist/src/web/types/mcpWidget.d.mts +3 -3
- package/dist/packages/core/po-core/dist/web.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/components/Accordion.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Accordion.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/AnsiText.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/AnsiText.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Avatar.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Avatar.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Badge.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Badge.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Breadcrumb.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Breadcrumb.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Button.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Checkbox.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Checkbox.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeBlock.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeBlock.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeEditorView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CodeEditorView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Command.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Command.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/CopyButton.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/CopyButton.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Dialog.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/DiffView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/DiffView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Dot.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Dot.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Drawer.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Drawer.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/DropdownMenu.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/DropdownMenu.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/EmptyState.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/EmptyState.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/HashlineLines.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Input.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Input.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Kbd.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Kbd.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Label.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Label.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Markdown.d.mts +1 -0
- package/dist/packages/core/po-web-components/src/components/Markdown.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Markdown.mjs +2 -2
- package/dist/packages/core/po-web-components/src/components/Markdown.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpApp.d.mts +5 -4
- package/dist/packages/core/po-web-components/src/components/McpApp.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpApp.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.d.mts +3 -3
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.mjs +2 -2
- package/dist/packages/core/po-web-components/src/components/McpToolWidget.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MediaPreview.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MediaPreview.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MermaidDiagram.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageItem.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageItem.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageLines.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/MessageLines.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/OptionList.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/OptionList.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Panel.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Panel.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/PdfPreview.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/PdfPreview.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Picker.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Picker.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Popover.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Popover.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Progress.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Progress.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/RadioGroup.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/RadioGroup.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ReviewCommentDraft.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ReviewCommentDraft.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ScrollArea.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ScrollArea.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/SectionLabel.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/SectionLabel.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Select.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Select.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Separator.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Separator.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Settings.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Settings.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Sheet.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Sheet.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Skeleton.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Skeleton.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/StatusBadge.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/StatusBadge.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/StreamCursor.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/StreamCursor.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Switch.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Switch.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Toast.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Toast.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/ToolPathLink.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/ToolPathLink.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Tooltip.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Tooltip.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/icons/icons.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/ansiSpans.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/ansiSpans.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.d.mts +19 -19
- package/dist/packages/core/po-web-components/src/lib/editorTheme.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/editorTheme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineHighlight.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineView.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/hashlineView.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs +1 -1
- package/dist/packages/core/po-web-components/src/lib/syntaxHighlight.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/builtinThemes.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/derive.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/derive.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.d.mts +2 -2
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/theme/nativeTheme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.d.mts +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.mjs +1 -1
- package/dist/packages/core/po-web-components/src/types/theme.mjs.map +1 -1
- package/dist/packages/core/po-web-components/themes/po-nord-dark.mjs +2 -0
- package/dist/packages/core/po-web-components/themes/po-nord-dark.mjs.map +1 -0
- package/dist/packages/core/po-web-components/themes/po-one-dark.mjs +2 -0
- package/dist/packages/core/po-web-components/themes/po-one-dark.mjs.map +1 -0
- package/dist/packages/core/po-web-components/themes/po-one-light.mjs +2 -0
- package/dist/packages/core/po-web-components/themes/po-one-light.mjs.map +1 -0
- package/dist/src/components/Accordion.cjs +1 -1
- package/dist/src/components/Accordion.cjs.map +1 -1
- package/dist/src/components/AnsiText.cjs +1 -1
- package/dist/src/components/AnsiText.cjs.map +1 -1
- package/dist/src/components/Avatar.cjs +1 -1
- package/dist/src/components/Avatar.cjs.map +1 -1
- package/dist/src/components/Badge.cjs +1 -1
- package/dist/src/components/Badge.cjs.map +1 -1
- package/dist/src/components/Breadcrumb.cjs +1 -1
- package/dist/src/components/Breadcrumb.cjs.map +1 -1
- package/dist/src/components/Button.cjs +1 -1
- package/dist/src/components/Button.cjs.map +1 -1
- package/dist/src/components/Checkbox.cjs +1 -1
- package/dist/src/components/Checkbox.cjs.map +1 -1
- package/dist/src/components/CodeBlock.cjs +1 -1
- package/dist/src/components/CodeBlock.cjs.map +1 -1
- package/dist/src/components/CodeEditorView.cjs +1 -1
- package/dist/src/components/CodeEditorView.cjs.map +1 -1
- package/dist/src/components/Command.cjs +1 -1
- package/dist/src/components/Command.cjs.map +1 -1
- package/dist/src/components/CopyButton.cjs +1 -1
- package/dist/src/components/CopyButton.cjs.map +1 -1
- package/dist/src/components/Dialog.cjs +1 -1
- package/dist/src/components/Dialog.cjs.map +1 -1
- package/dist/src/components/DiffView.cjs +1 -1
- package/dist/src/components/DiffView.cjs.map +1 -1
- package/dist/src/components/Dot.cjs +1 -1
- package/dist/src/components/Dot.cjs.map +1 -1
- package/dist/src/components/Drawer.cjs +1 -1
- package/dist/src/components/Drawer.cjs.map +1 -1
- package/dist/src/components/DropdownMenu.cjs +1 -1
- package/dist/src/components/DropdownMenu.cjs.map +1 -1
- package/dist/src/components/EmptyState.cjs +1 -1
- package/dist/src/components/EmptyState.cjs.map +1 -1
- package/dist/src/components/HashlineLines.cjs +1 -1
- package/dist/src/components/HashlineLines.cjs.map +1 -1
- package/dist/src/components/Input.cjs +1 -1
- package/dist/src/components/Input.cjs.map +1 -1
- package/dist/src/components/Kbd.cjs +1 -1
- package/dist/src/components/Kbd.cjs.map +1 -1
- package/dist/src/components/Label.cjs +1 -1
- package/dist/src/components/Label.cjs.map +1 -1
- package/dist/src/components/Markdown.cjs +2 -2
- package/dist/src/components/Markdown.cjs.map +1 -1
- package/dist/src/components/McpApp.cjs.map +1 -1
- package/dist/src/components/McpToolWidget.cjs +2 -2
- package/dist/src/components/McpToolWidget.cjs.map +1 -1
- package/dist/src/components/MediaPreview.cjs +1 -1
- package/dist/src/components/MediaPreview.cjs.map +1 -1
- package/dist/src/components/MermaidDiagram.cjs +1 -1
- package/dist/src/components/MermaidDiagram.cjs.map +1 -1
- package/dist/src/components/MessageItem.cjs +1 -1
- package/dist/src/components/MessageItem.cjs.map +1 -1
- package/dist/src/components/MessageLines.cjs +1 -1
- package/dist/src/components/MessageLines.cjs.map +1 -1
- package/dist/src/components/OptionList.cjs +1 -1
- package/dist/src/components/OptionList.cjs.map +1 -1
- package/dist/src/components/Panel.cjs +1 -1
- package/dist/src/components/Panel.cjs.map +1 -1
- package/dist/src/components/PdfPreview.cjs +1 -1
- package/dist/src/components/PdfPreview.cjs.map +1 -1
- package/dist/src/components/Picker.cjs +1 -1
- package/dist/src/components/Picker.cjs.map +1 -1
- package/dist/src/components/Popover.cjs +1 -1
- package/dist/src/components/Popover.cjs.map +1 -1
- package/dist/src/components/Progress.cjs +1 -1
- package/dist/src/components/Progress.cjs.map +1 -1
- package/dist/src/components/RadioGroup.cjs +1 -1
- package/dist/src/components/RadioGroup.cjs.map +1 -1
- package/dist/src/components/ReviewCommentDraft.cjs +1 -1
- package/dist/src/components/ReviewCommentDraft.cjs.map +1 -1
- package/dist/src/components/ScrollArea.cjs +1 -1
- package/dist/src/components/ScrollArea.cjs.map +1 -1
- package/dist/src/components/SectionLabel.cjs +1 -1
- package/dist/src/components/SectionLabel.cjs.map +1 -1
- package/dist/src/components/Select.cjs +1 -1
- package/dist/src/components/Select.cjs.map +1 -1
- package/dist/src/components/Separator.cjs +1 -1
- package/dist/src/components/Separator.cjs.map +1 -1
- package/dist/src/components/Settings.cjs +1 -1
- package/dist/src/components/Settings.cjs.map +1 -1
- package/dist/src/components/Sheet.cjs +1 -1
- package/dist/src/components/Sheet.cjs.map +1 -1
- package/dist/src/components/Skeleton.cjs +1 -1
- package/dist/src/components/Skeleton.cjs.map +1 -1
- package/dist/src/components/StatusBadge.cjs +1 -1
- package/dist/src/components/StatusBadge.cjs.map +1 -1
- package/dist/src/components/StreamCursor.cjs +1 -1
- package/dist/src/components/StreamCursor.cjs.map +1 -1
- package/dist/src/components/Switch.cjs +1 -1
- package/dist/src/components/Switch.cjs.map +1 -1
- package/dist/src/components/Tabs.cjs +1 -1
- package/dist/src/components/Tabs.cjs.map +1 -1
- package/dist/src/components/Toast.cjs +1 -1
- package/dist/src/components/Toast.cjs.map +1 -1
- package/dist/src/components/ToolPathLink.cjs +1 -1
- package/dist/src/components/ToolPathLink.cjs.map +1 -1
- package/dist/src/components/Tooltip.cjs +1 -1
- package/dist/src/components/Tooltip.cjs.map +1 -1
- package/dist/src/lib/ansiSpans.cjs +1 -1
- package/dist/src/lib/ansiSpans.cjs.map +1 -1
- package/dist/src/lib/editorTheme.cjs +1 -1
- package/dist/src/lib/editorTheme.cjs.map +1 -1
- package/dist/src/lib/hashlineHighlight.cjs +1 -1
- package/dist/src/lib/hashlineHighlight.cjs.map +1 -1
- package/dist/src/lib/hashlineView.cjs +1 -1
- package/dist/src/lib/hashlineView.cjs.map +1 -1
- package/dist/src/lib/syntaxHighlight.cjs +1 -1
- package/dist/src/lib/syntaxHighlight.cjs.map +1 -1
- package/dist/src/theme/builtinThemes.cjs +1 -1
- package/dist/src/theme/builtinThemes.cjs.map +1 -1
- package/dist/src/theme/derive.cjs +1 -1
- package/dist/src/theme/derive.cjs.map +1 -1
- package/dist/src/theme/nativeTheme.cjs +1 -1
- package/dist/src/theme/nativeTheme.cjs.map +1 -1
- package/dist/src/types/theme.cjs +1 -1
- package/dist/src/types/theme.cjs.map +1 -1
- package/dist/themes/po-nord-dark.cjs +2 -0
- package/dist/themes/po-nord-dark.cjs.map +1 -0
- package/dist/themes/po-one-dark.cjs +2 -0
- package/dist/themes/po-one-dark.cjs.map +1 -0
- package/dist/themes/po-one-light.cjs +2 -0
- package/dist/themes/po-one-light.cjs.map +1 -0
- package/package.json +17 -17
- package/styles/mcp.css +11 -11
- package/styles/preview.css +1 -1
- package/styles/theme.css +116 -116
- package/themes/{doom-nord-dark.json → po-nord-dark.json} +1 -1
- package/themes/{doom-one-dark.json → po-one-dark.json} +1 -1
- package/themes/{doom-one-light.json → po-one-light.json} +1 -1
- package/dist/_virtual/_rolldown/runtime.mjs +0 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-CfX6zgs1.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/@modelcontextprotocol_server@2.2.0/node_modules/@modelcontextprotocol/server/dist/index.d.mts +0 -2
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.d.mts +0 -20
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/coerce.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.d.mts +0 -50
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.d.mts +0 -10
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.mts +0 -33
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.d.mts +0 -28
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/external.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.d.mts +0 -14
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.d.mts +0 -13
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.d.mts +0 -13
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.mts +0 -54
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.mts +0 -775
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.mts +0 -331
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.mts +0 -296
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.mts +0 -67
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.mts +0 -85
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.mts +0 -18
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.d.mts +0 -24
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.mts +0 -67
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.mts +0 -12
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.mts +0 -18
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.mts +0 -54
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.d.mts +0 -94
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/standard-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.mts +0 -237
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/index.d.mts +0 -29
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.d.mts +0 -69
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/index.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.mts.map +0 -1
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.mts +0 -8
- package/dist/node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.mts.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-nord-dark.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-nord-dark.mjs.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-one-dark.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-one-dark.mjs.map +0 -1
- package/dist/packages/core/po-web-components/themes/doom-one-light.mjs +0 -2
- package/dist/packages/core/po-web-components/themes/doom-one-light.mjs.map +0 -1
- package/dist/themes/doom-nord-dark.cjs +0 -2
- package/dist/themes/doom-nord-dark.cjs.map +0 -1
- package/dist/themes/doom-one-dark.cjs +0 -2
- package/dist/themes/doom-one-dark.cjs.map +0 -1
- package/dist/themes/doom-one-light.cjs +0 -2
- package/dist/themes/doom-one-light.cjs.map +0 -1
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Because every colour is a token, a theme config recolours the whole cockpit at r
|
|
|
13
13
|
| `.` | Actions and chips: `Button`, `Badge`, `StatusBadge`, `Dot`, `Kbd`, `NavTab*`, `Tabs*`. Fields: `Input`, `Textarea`, `Label`, `Checkbox`, `Switch`, `RadioGroup*`, `Select*`. Overlays: `Dialog*`, `Sheet*`, `Popover*`, `DropdownMenu*`, `Tooltip*`, `Toast*`, `Command*`. Layout and content: `Panel*`, `SectionLabel`, `Separator`, `EmptyState`, `ScrollArea`, `Collapsible*`, `Accordion*`, `OptionList`, `OptionRow`, `MessageItem*`, `MessageLines`. Feedback: `Spinner`, `Progress`, `Skeleton`, `Avatar*`, `StreamCursor`. Files: `CodeEditor`, `MediaPreview`. Review: `DiffView`, `ReviewCommentDraft`. Plus the curated icon set, `cn`, `collapseLines`, `grammarKeyOf`, `mediaKindOf`, the review helpers (`buildReviewPrompt`, `reviewCommentAnchor`, `diffRangeOf`), `groupByDirectory`, the option-list key helpers, and the tone vocabularies with the maps between them |
|
|
14
14
|
| `./theme` | `ThemeConfig`, the token lists, `BUILTIN_THEMES`, `applyTheme`, `parseThemeConfig`, `themeFromPiTheme`, the stored-preference helpers |
|
|
15
15
|
| `./styles.css` | The token stylesheet: the bundled fonts, then `styles/theme.css` (`:root` defaults, the Tailwind `@theme inline` mapping, shadcn semantic aliases, base styles, and the `@source` for this package's classes) |
|
|
16
|
-
| `./themes/*.json` | The shipped theme configs: `
|
|
16
|
+
| `./themes/*.json` | The shipped theme configs: `po-one-dark` (default), `po-one-light`, `po-nord-dark` |
|
|
17
17
|
|
|
18
18
|
## Using it from the cockpit host
|
|
19
19
|
|
|
@@ -27,7 +27,7 @@ Because every colour is a token, a theme config recolours the whole cockpit at r
|
|
|
27
27
|
import { Button, Dialog, DialogContent, StatusBadge } from '@agimon-ai/po-web-components';
|
|
28
28
|
import { applyTheme, builtinTheme, readThemePreference } from '@agimon-ai/po-web-components/theme';
|
|
29
29
|
|
|
30
|
-
applyTheme(builtinTheme(readThemePreference(localStorage) ?? '
|
|
30
|
+
applyTheme(builtinTheme(readThemePreference(localStorage) ?? 'po-one-dark')!, document.documentElement);
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Tones
|
|
@@ -56,7 +56,7 @@ is what keeps host and plugin items alike, and the shell carries the `tool-statu
|
|
|
56
56
|
|
|
57
57
|
## Files
|
|
58
58
|
|
|
59
|
-
`CodeEditor` is CodeMirror 6 on the
|
|
59
|
+
`CodeEditor` is CodeMirror 6 on the po palette: line numbers, folding, undo, a search panel, and
|
|
60
60
|
a grammar chosen from the file's path. It arrives as its own chunk, and each grammar as another, so
|
|
61
61
|
a session that never opens a file downloads neither. Give it a height (it fills its container) and
|
|
62
62
|
read edits back through `onChange`; `onSelect` reports the current range with one-based line
|
|
@@ -95,7 +95,7 @@ places inline content, such as an open draft, under a row.
|
|
|
95
95
|
A web plugin's client code may import `react`, the `@tanstack` store packages,
|
|
96
96
|
`@agimon-ai/po-core/web`, and this package. Declare it as a `workspace:*` dependency and
|
|
97
97
|
import the same way the host does; the cockpit bundler dedupes it so one copy renders everywhere.
|
|
98
|
-
Do not import `radix-ui` or `class-variance-authority` directly from plugin code: the
|
|
98
|
+
Do not import `radix-ui` or `class-variance-authority` directly from plugin code: the po-web
|
|
99
99
|
vibe-lint rules route every primitive through this package so a theme change reaches all of them.
|
|
100
100
|
|
|
101
101
|
## Theme tokens
|
|
@@ -133,8 +133,8 @@ ink; the role ladder is in [docs/design.md](../../../docs/design.md#type). `./mc
|
|
|
133
133
|
same tokens without the fonts: a Po-generated MCP app gets them inlined by its build, and a
|
|
134
134
|
third-party app keeps its own.
|
|
135
135
|
|
|
136
|
-
Each token is published as `--
|
|
137
|
-
`
|
|
136
|
+
Each token is published as `--po-<token>` on the root element and mapped to Tailwind as
|
|
137
|
+
`po-<token>` (`bg-po-panel`, `text-po-hi`, `border-po-edge-red`), and to shadcn's semantic
|
|
138
138
|
names (`bg-background`, `text-muted-foreground`, `border-input`).
|
|
139
139
|
|
|
140
140
|
## Writing a theme
|
|
@@ -160,6 +160,6 @@ pnpm test # theme, bridge, and render smoke tests (react-dom/server, no DO
|
|
|
160
160
|
pnpm typecheck
|
|
161
161
|
```
|
|
162
162
|
|
|
163
|
-
The `
|
|
163
|
+
The `po-web` vibe-lint preset governs the layout: `src/types` (the theme contract), `src/lib`
|
|
164
164
|
(`cn`), `src/theme`, `src/icons`, `src/components` (one PascalCase component per file, props-driven,
|
|
165
165
|
no application state), and `src/exports` (pure re-exports, one file per subpath).
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { infer as output } from "../../../../../zod@4.6.
|
|
2
|
-
import { ZodTypeAny } from "../../../../../zod@4.6.
|
|
3
|
-
import { index_d_exports } from "../../../../../zod@4.6.5/node_modules/zod/v4/index.mjs";
|
|
1
|
+
import { infer as output } from "../../../../../zod@4.6.6/node_modules/zod/v4/core/core.mjs";
|
|
2
|
+
import { ZodTypeAny } from "../../../../../zod@4.6.6/node_modules/zod/v4/classic/compat.mjs";
|
|
4
3
|
import { CallToolResultSchema } from "@modelcontextprotocol/core/internal";
|
|
5
|
-
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+server@2.
|
|
4
|
+
//#region ../../../node_modules/.pnpm/@modelcontextprotocol+server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts
|
|
6
5
|
type Primitive = string | number | boolean | bigint | null | undefined;
|
|
7
6
|
type Flatten<T$1> = T$1 extends Primitive ? T$1 : T$1 extends Array<infer U> ? Array<Flatten<U>> : T$1 extends Set<infer U> ? Set<Flatten<U>> : T$1 extends Map<infer K, infer V> ? Map<Flatten<K>, Flatten<V>> : T$1 extends object ? { [K in keyof T$1]: Flatten<T$1[K]>; } : T$1;
|
|
8
7
|
type Infer<Schema extends ZodTypeAny> = Flatten<output<Schema>>;
|
|
@@ -23,5 +22,5 @@ type WireOnlyResultKey = 'resultType';
|
|
|
23
22
|
type StripWireOnly<T$1> = T$1 extends unknown ? { [K in keyof T$1 as K extends WireOnlyResultKey ? never : K]: T$1[K]; } : never;
|
|
24
23
|
type CallToolResult = StripWireOnly<Infer<typeof CallToolResultSchema>>;
|
|
25
24
|
//#endregion
|
|
26
|
-
export { CallToolResult as
|
|
27
|
-
//# sourceMappingURL=createMcpHandler-
|
|
25
|
+
export { CallToolResult as un };
|
|
26
|
+
//# sourceMappingURL=createMcpHandler-D4NN8WsG.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createMcpHandler-D4NN8WsG.d.mts","names":["z.ZodTypeAny","z.infer"],"sources":["../../../../../../../../../../../node_modules/.pnpm/@modelcontextprotocol+server@2.3.1/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts"],"ignoreList":[0],"mappings":";;;;KA2UK;KACA,QAAQ,OAAO,YAAY,YAAY,MAAM,YAAY,YAAY,KAAK,MAAM,QAAQ,MAAM,YAAY,UAAU,KAAK,IAAI,QAAQ,MAAM,YAAY,UAAU,SAAS,KAAK,IAAI,QAAQ,IAAI,QAAQ,MAAM,wBAAwB,WAAW,MAAM,QAAQ,IAAI,SAAQ;KAC1Q,MAAM,eAAeA,cAAgB,QAAQC,OAAQ;;;;;;;;;KASrD;;;;;;KAMA,cAAc,OAAO,yBAAyB,WAAW,OAAO,UAAU,4BAA4B,IAAI,IAAI;KAgK9G,iBAAiB,cAAc,aAAa"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { $ZodTypeInternals } from "../core/schemas.mjs";
|
|
2
|
+
import { $brand } from "../core/core.mjs";
|
|
3
|
+
import { ZodType } from "./schemas.mjs";
|
|
4
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.cts
|
|
5
|
+
/** @deprecated Use z.ZodType (without generics) instead. */
|
|
6
|
+
export type ZodTypeAny<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
|
|
7
|
+
//#endregion
|
|
8
|
+
//# sourceMappingURL=compat.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compat.d.mts","names":["core.$ZodTypeInternals"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/compat.d.cts"],"ignoreList":[0],"mappings":";;;;;YAsCY,WAAW,kBAAkB,iBAAiB,kBAAkBA,kBAAuB,QAAQ,SAASA,kBAAuB,QAAQ,UAAU,QAAQ,QAAQ,OAAO"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { $ZodError, $ZodFlattenedError, $ZodFormattedError, $ZodIssue } from "../core/errors.mjs";
|
|
2
|
+
import { $constructor } from "../core/core.mjs";
|
|
3
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.cts
|
|
4
|
+
/** An Error-like class used to store Zod validation issues. */
|
|
5
|
+
export interface ZodError<T = unknown> extends $ZodError<T> {
|
|
6
|
+
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
7
|
+
format(): $ZodFormattedError<T>;
|
|
8
|
+
format<U>(mapper: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
|
|
9
|
+
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
10
|
+
flatten(): $ZodFlattenedError<T>;
|
|
11
|
+
flatten<U>(mapper: (issue: $ZodIssue) => U): $ZodFlattenedError<T, U>;
|
|
12
|
+
/** @deprecated Push directly to `.issues` instead. */
|
|
13
|
+
addIssue(issue: $ZodIssue): void;
|
|
14
|
+
/** @deprecated Push directly to `.issues` instead. */
|
|
15
|
+
addIssues(issues: $ZodIssue[]): void;
|
|
16
|
+
/** @deprecated Check `err.issues.length === 0` instead. */
|
|
17
|
+
isEmpty: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const ZodError: $constructor<ZodError>;
|
|
20
|
+
//#endregion
|
|
21
|
+
//# sourceMappingURL=errors.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.d.mts","names":["core.$ZodFormattedError","core.$ZodIssue","core.$ZodFlattenedError","core.$constructor"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/errors.d.cts"],"ignoreList":[0],"mappings":";;;;iBAKiB,SAAS,qBAAqB,UAAU;;EAErD,UAAUA,mBAAwB;EAClC,OAAO,GAAG,SAAS,OAAOC,cAAmB,IAAID,mBAAwB,GAAG;;EAE5E,WAAWE,mBAAwB;EACnC,QAAQ,GAAG,SAAS,OAAOD,cAAmB,IAAIC,mBAAwB,GAAG;;EAE7E,SAAS,OAAOD;;EAEhB,UAAU,QAAQA;;EAElB;;qBAEiB,UAAUE,aAAkB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ZodError } from "./errors.mjs";
|
|
2
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.cts
|
|
3
|
+
export type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
|
|
4
|
+
export type ZodSafeParseSuccess<T> = {
|
|
5
|
+
success: true;
|
|
6
|
+
data: T;
|
|
7
|
+
error?: never;
|
|
8
|
+
};
|
|
9
|
+
export type ZodSafeParseError<T> = {
|
|
10
|
+
success: false;
|
|
11
|
+
data?: never;
|
|
12
|
+
error: ZodError<T>;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
//# sourceMappingURL=parse.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.d.mts","names":[],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/parse.d.cts"],"ignoreList":[0],"mappings":";;YAEY,mBAAmB,KAAK,oBAAoB,KAAK,kBAAkB;YACnE,oBAAoB;EAC5B;EACA,MAAM;EACN;;YAEQ,kBAAkB;EAC1B;EACA;EACA,OAAO,SAAS"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { StandardSchemaWithJSONProps } from "../core/standard-schema.mjs";
|
|
2
|
+
import { $ZodRegistry, $replace, GlobalMeta } from "../core/registries.mjs";
|
|
3
|
+
import { ToJSONSchemaParams, ZodStandardJSONSchemaPayload } from "../core/to-json-schema.mjs";
|
|
4
|
+
import { NoUndefined } from "../core/util.mjs";
|
|
5
|
+
import { $ZodArray, $ZodArrayInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchInternals, $ZodDefault, $ZodDefaultInternals, $ZodExactOptional, $ZodExactOptionalInternals, $ZodIntersection, $ZodIntersectionInternals, $ZodNonOptional, $ZodNonOptionalInternals, $ZodNullable, $ZodNullableInternals, $ZodOptional, $ZodOptionalInternals, $ZodPipe, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultInternals, $ZodReadonly, $ZodReadonlyInternals, $ZodTransform, $ZodTransformInternals, $ZodType, $ZodTypeInternals, $ZodUnion, $ZodUnionInternals, CheckFn, ParseContext, SomeType } from "../core/schemas.mjs";
|
|
6
|
+
import { $ZodCheck } from "../core/checks.mjs";
|
|
7
|
+
import { $ZodIssue } from "../core/errors.mjs";
|
|
8
|
+
import { $ZodBranded, $constructor, infer as output, input } from "../core/core.mjs";
|
|
9
|
+
import { $RefinementCtx, $ZodCheckLengthEqualsParams, $ZodCheckMaxLengthParams, $ZodCheckMinLengthParams, $ZodCustomParams, $ZodNonOptionalParams, $ZodSuperRefineParams } from "../core/api.mjs";
|
|
10
|
+
import { ZodSafeParseResult } from "./parse.mjs";
|
|
11
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.cts
|
|
12
|
+
export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
|
|
13
|
+
export interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
|
|
14
|
+
def: Internals["def"];
|
|
15
|
+
type: Internals["def"]["type"];
|
|
16
|
+
/** @deprecated Use `.def` instead. */
|
|
17
|
+
_def: Internals["def"];
|
|
18
|
+
/** @deprecated Use `z.output<typeof schema>` instead. */
|
|
19
|
+
_output: Internals["output"];
|
|
20
|
+
/** @deprecated Use `z.input<typeof schema>` instead. */
|
|
21
|
+
_input: Internals["input"];
|
|
22
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
23
|
+
/** Converts this schema to a JSON Schema representation. */
|
|
24
|
+
toJSONSchema(params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<this>;
|
|
25
|
+
check(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
26
|
+
with(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
|
|
27
|
+
clone(def?: Internals["def"], params?: {
|
|
28
|
+
parent: boolean;
|
|
29
|
+
}): this;
|
|
30
|
+
register<R extends $ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [$replace<R["_meta"], this>?] : [$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
|
|
31
|
+
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T, Dir>;
|
|
32
|
+
parse(data: unknown, params?: ParseContext<$ZodIssue>): output<this>;
|
|
33
|
+
safeParse(data: unknown, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
34
|
+
parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
35
|
+
safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
36
|
+
spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<this>>>;
|
|
37
|
+
validate(data: unknown, params?: ParseContext<$ZodIssue>): data is input<this>;
|
|
38
|
+
validateAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<boolean>;
|
|
39
|
+
encode(data: output<this>, params?: ParseContext<$ZodIssue>): input<this>;
|
|
40
|
+
decode(data: input<this>, params?: ParseContext<$ZodIssue>): output<this>;
|
|
41
|
+
encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input<this>>;
|
|
42
|
+
decodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
|
|
43
|
+
safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input<this>>;
|
|
44
|
+
safeDecode(data: input<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
|
|
45
|
+
safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input<this>>>;
|
|
46
|
+
safeDecodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
|
|
47
|
+
refine<Ch extends (arg: output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input<this>> : this;
|
|
48
|
+
superRefine(refinement: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => void | Promise<void>, params?: $ZodSuperRefineParams): this;
|
|
49
|
+
overwrite(fn: (x: output<this>) => output<this>): this;
|
|
50
|
+
optional(): ZodOptional<this>;
|
|
51
|
+
exactOptional(): ZodExactOptional<this>;
|
|
52
|
+
nonoptional(params?: string | $ZodNonOptionalParams): ZodNonOptional<this>;
|
|
53
|
+
nullable(): ZodNullable<this>;
|
|
54
|
+
nullish(): ZodOptional<ZodNullable<this>>;
|
|
55
|
+
default(def: NoUndefined<output<this>>): ZodDefault<this>;
|
|
56
|
+
default(def: () => NoUndefined<output<this>>): ZodDefault<this>;
|
|
57
|
+
prefault(def: () => input<this>): ZodPrefault<this>;
|
|
58
|
+
prefault(def: input<this>): ZodPrefault<this>;
|
|
59
|
+
array(): ZodArray<this>;
|
|
60
|
+
or<T extends SomeType>(option: T): ZodUnion<[this, T]>;
|
|
61
|
+
and<T extends SomeType>(incoming: T): ZodIntersection<this, T>;
|
|
62
|
+
transform<NewOut>(transform: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output<this>>>;
|
|
63
|
+
catch(def: output<this>): ZodCatch<this>;
|
|
64
|
+
catch(def: (ctx: $ZodCatchCtx) => output<this>): ZodCatch<this>;
|
|
65
|
+
pipe<T extends $ZodType<any, output<this>>>(target: T | $ZodType<any, output<this>>): ZodPipe<this, T>;
|
|
66
|
+
readonly(): ZodReadonly<this>;
|
|
67
|
+
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
|
|
68
|
+
describe(description: string): this;
|
|
69
|
+
description?: string;
|
|
70
|
+
/** Returns the metadata associated with this instance in `z.globalRegistry` */
|
|
71
|
+
meta(): $replace<GlobalMeta, this> | undefined;
|
|
72
|
+
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
|
|
73
|
+
meta(data: $replace<GlobalMeta, this>): this;
|
|
74
|
+
/** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
|
|
75
|
+
*
|
|
76
|
+
* ```ts
|
|
77
|
+
* const schema = z.string().optional();
|
|
78
|
+
* const isOptional = schema.safeParse(undefined).success; // true
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
isOptional(): boolean;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
|
|
84
|
+
*
|
|
85
|
+
* ```ts
|
|
86
|
+
* const schema = z.string().nullable();
|
|
87
|
+
* const isNullable = schema.safeParse(null).success; // true
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
isNullable(): boolean;
|
|
91
|
+
apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;
|
|
92
|
+
}
|
|
93
|
+
export interface _ZodType<out Internals extends $ZodTypeInternals = $ZodTypeInternals> extends ZodType<any, any, Internals> {}
|
|
94
|
+
export declare const ZodType: $constructor<ZodType>;
|
|
95
|
+
export interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInternals<T>>, $ZodArray<T> {
|
|
96
|
+
element: T;
|
|
97
|
+
min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
|
|
98
|
+
nonempty(params?: string | $ZodCheckMinLengthParams): this;
|
|
99
|
+
max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
|
|
100
|
+
length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
|
|
101
|
+
unwrap(): T;
|
|
102
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
103
|
+
}
|
|
104
|
+
export declare const ZodArray: $constructor<ZodArray>;
|
|
105
|
+
export interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
|
|
106
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
107
|
+
options: T;
|
|
108
|
+
}
|
|
109
|
+
export declare const ZodUnion: $constructor<ZodUnion>;
|
|
110
|
+
export interface ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {
|
|
111
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
112
|
+
}
|
|
113
|
+
export declare const ZodIntersection: $constructor<ZodIntersection>;
|
|
114
|
+
export interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {
|
|
115
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
116
|
+
}
|
|
117
|
+
export declare const ZodTransform: $constructor<ZodTransform>;
|
|
118
|
+
export interface ZodOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
|
|
119
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
120
|
+
unwrap(): T;
|
|
121
|
+
}
|
|
122
|
+
export declare const ZodOptional: $constructor<ZodOptional>;
|
|
123
|
+
export interface ZodExactOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodExactOptionalInternals<T>>, $ZodExactOptional<T> {
|
|
124
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
125
|
+
unwrap(): T;
|
|
126
|
+
}
|
|
127
|
+
export declare const ZodExactOptional: $constructor<ZodExactOptional>;
|
|
128
|
+
export interface ZodNullable<T extends SomeType = $ZodType> extends _ZodType<$ZodNullableInternals<T>>, $ZodNullable<T> {
|
|
129
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
130
|
+
unwrap(): T;
|
|
131
|
+
}
|
|
132
|
+
export declare const ZodNullable: $constructor<ZodNullable>;
|
|
133
|
+
export interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefaultInternals<T>>, $ZodDefault<T> {
|
|
134
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
135
|
+
unwrap(): T;
|
|
136
|
+
/** @deprecated Use `.unwrap()` instead. */
|
|
137
|
+
removeDefault(): T;
|
|
138
|
+
}
|
|
139
|
+
export declare const ZodDefault: $constructor<ZodDefault>;
|
|
140
|
+
export interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
|
|
141
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
142
|
+
unwrap(): T;
|
|
143
|
+
}
|
|
144
|
+
export declare const ZodPrefault: $constructor<ZodPrefault>;
|
|
145
|
+
export interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
|
|
146
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
147
|
+
unwrap(): T;
|
|
148
|
+
}
|
|
149
|
+
export declare const ZodNonOptional: $constructor<ZodNonOptional>;
|
|
150
|
+
export interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
|
|
151
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
152
|
+
unwrap(): T;
|
|
153
|
+
/** @deprecated Use `.unwrap()` instead. */
|
|
154
|
+
removeCatch(): T;
|
|
155
|
+
}
|
|
156
|
+
export declare const ZodCatch: $constructor<ZodCatch>;
|
|
157
|
+
export interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
|
|
158
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
159
|
+
in: A;
|
|
160
|
+
out: B;
|
|
161
|
+
}
|
|
162
|
+
export declare const ZodPipe: $constructor<ZodPipe>;
|
|
163
|
+
export interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
|
|
164
|
+
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
165
|
+
unwrap(): T;
|
|
166
|
+
}
|
|
167
|
+
export declare const ZodReadonly: $constructor<ZodReadonly>;
|
|
168
|
+
//#endregion
|
|
169
|
+
//# sourceMappingURL=schemas.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.mts","names":["core.input","core.output","core.$ZodTypeInternals","core.ToJSONSchemaParams","core.ZodStandardJSONSchemaPayload","core.CheckFn","core.$ZodCheck","core.$ZodRegistry","core.$replace","core.$ZodBranded","core.$ZodIssue","core.ParseContext","parse.ZodSafeParseResult","core.$ZodCustomParams","core.$RefinementCtx","core.$ZodSuperRefineParams","core.$ZodNonOptionalParams","util.NoUndefined","core.SomeType","core.$ZodCatchCtx","core.$ZodType","core.GlobalMeta","core.$constructor","core.$ZodArrayInternals","core.$ZodCheckMinLengthParams","core.$ZodCheckMaxLengthParams","core.$ZodCheckLengthEqualsParams","core.$ZodArray","core.$ZodUnionInternals","core.$ZodUnion","core.$ZodIntersectionInternals","core.$ZodIntersection","core.$ZodTransformInternals","core.$ZodTransform","core.$ZodOptionalInternals","core.$ZodOptional","core.$ZodExactOptionalInternals","core.$ZodExactOptional","core.$ZodNullableInternals","core.$ZodNullable","core.$ZodDefaultInternals","core.$ZodDefault","core.$ZodPrefaultInternals","core.$ZodPrefault","core.$ZodNonOptionalInternals","core.$ZodNonOptional","core.$ZodCatchInternals","core.$ZodCatch","core.$ZodPipeInternals","core.$ZodPipe","core.$ZodReadonlyInternals","core.$ZodReadonly"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/classic/schemas.d.cts"],"ignoreList":[0],"mappings":"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"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EmptyToNever, Flatten, MakePartial } from "./util.mjs";
|
|
2
|
+
import { $ZodCustom, $ZodNonOptional, $ZodType, ParsePayload } from "./schemas.mjs";
|
|
3
|
+
import { $ZodCheck, $ZodCheckLengthEquals, $ZodCheckMaxLength, $ZodCheckMinLength } from "./checks.mjs";
|
|
4
|
+
import { $ZodErrorMap, $ZodIssue, $ZodIssueBase } from "./errors.mjs";
|
|
5
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.cts
|
|
6
|
+
export type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
|
|
7
|
+
error?: string | $ZodErrorMap<IssueTypes> | undefined;
|
|
8
|
+
/** @deprecated This parameter is deprecated. Use `error` instead. */
|
|
9
|
+
message?: string | undefined;
|
|
10
|
+
})>>>;
|
|
11
|
+
export type TypeParams<T extends $ZodType = $ZodType & {
|
|
12
|
+
_isst: never;
|
|
13
|
+
}, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
|
|
14
|
+
export type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
|
|
15
|
+
AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
|
|
16
|
+
export type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
|
|
17
|
+
export type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
|
|
18
|
+
export type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
|
|
19
|
+
export type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
|
|
20
|
+
export type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
|
|
21
|
+
export type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
|
|
22
|
+
export type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
|
|
23
|
+
type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
24
|
+
/** The schema or check that originated this issue. */
|
|
25
|
+
readonly inst?: $ZodType | $ZodCheck;
|
|
26
|
+
/** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
|
|
27
|
+
readonly continue?: boolean | undefined;
|
|
28
|
+
} & Record<string, unknown>> : never;
|
|
29
|
+
export interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
|
|
30
|
+
addIssue(arg: string | $ZodSuperRefineIssue): void;
|
|
31
|
+
}
|
|
32
|
+
export interface $ZodSuperRefineParams {
|
|
33
|
+
/** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
|
|
34
|
+
when?: ((payload: ParsePayload) => boolean) | undefined;
|
|
35
|
+
}
|
|
36
|
+
//#endregion
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=api.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.mts","names":["schemas.$ZodType","checks.$ZodCheck","errors.$ZodIssueBase","errors.$ZodErrorMap","util.EmptyToNever","util.Flatten","checks.$ZodCheckMaxLength","checks.$ZodCheckMinLength","checks.$ZodCheckLengthEquals","schemas.$ZodNonOptional","schemas.$ZodCustom","errors.$ZodIssue","util.MakePartial","schemas.ParsePayload"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/api.d.cts"],"ignoreList":[0],"mappings":";;;;;YAMY,OAAO,UAAUA,WAAmBC,WAAkB,mBAAmBC,eAAsB,uBAAuB,4BAA4BG,QAAa,QAAQD,aAAkB,KAAK,kBAAkB,cAAc;EACtO,iBAAiBD,aAAoB;;EAErC;;YAEQ,WAAW,UAAUH,WAAmBA;EAChD;GACD,iBAAiB,cAAc,0DAA0D,OAAO,GAAG,YAAY,kDAAkD;YACxJ,YAAY,UAAUC,YAAmBA;EACrD,iBAAiB,cAAc,gDAAgD,OAAO,GAAG,YAAY,wCAAwC;YAGjI,gBAAgB,UAAUD,WAAmBC,YAAmBD,WAAmBC,WAAkB,iBAAiB,cAAc,oEAAoE,OAAO,GAAG,YAAY,oBAAoB,4DAA4D;YAsL9S,2BAA2B,YAAYK;YAEvC,2BAA2B,YAAYC;YAEvC,8BAA8B,YAAYC;YA8E1C,wBAAwB,WAAWC;YAgBnC,mBAAmB,gBAAgBC;YAGnC,qBAAqB,UAAUR,gBAAuBS,aAAoB,gBAAgB,SAAS;KAC1G,SAAS,UAAUT,iBAAwB,gBAAgBG,QAAaO,YAAiB;;WAEjF,OAAOZ,WAAmBC;;WAE1B;IACT;iBACa,eAAe,qBAAqBY,aAAqB;EACtE,SAAS,cAAc;;iBAEV;;EAEb,SAAS,SAASA"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { HasLength, MaybeAsync } from "./util.mjs";
|
|
2
|
+
import { $ZodType, ParsePayload } from "./schemas.mjs";
|
|
3
|
+
import { $ZodErrorMap, $ZodIssueBase, $ZodIssueTooBig, $ZodIssueTooSmall } from "./errors.mjs";
|
|
4
|
+
import { $constructor } from "./core.mjs";
|
|
5
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.cts
|
|
6
|
+
export interface $ZodCheckDef {
|
|
7
|
+
check: string;
|
|
8
|
+
error?: $ZodErrorMap<never> | undefined;
|
|
9
|
+
/** If true, no later checks will be executed if this check fails. Default `false`. */
|
|
10
|
+
abort?: boolean | undefined;
|
|
11
|
+
/** If provided, the check runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
|
|
12
|
+
when?: ((payload: ParsePayload) => boolean) | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface $ZodCheckInternals<T> {
|
|
15
|
+
def: $ZodCheckDef;
|
|
16
|
+
/** The set of issues this check might throw. */
|
|
17
|
+
issc?: $ZodIssueBase;
|
|
18
|
+
check(payload: ParsePayload<T>): MaybeAsync<void>;
|
|
19
|
+
onattach: ((schema: $ZodType) => void)[];
|
|
20
|
+
}
|
|
21
|
+
export interface $ZodCheck<in T = never> {
|
|
22
|
+
_zod: $ZodCheckInternals<T>;
|
|
23
|
+
}
|
|
24
|
+
export declare const $ZodCheck: $constructor<$ZodCheck<any>>;
|
|
25
|
+
export interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
|
|
26
|
+
check: "max_length";
|
|
27
|
+
maximum: number;
|
|
28
|
+
}
|
|
29
|
+
export interface $ZodCheckMaxLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
30
|
+
def: $ZodCheckMaxLengthDef;
|
|
31
|
+
issc: $ZodIssueTooBig<T>;
|
|
32
|
+
}
|
|
33
|
+
export interface $ZodCheckMaxLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
34
|
+
_zod: $ZodCheckMaxLengthInternals<T>;
|
|
35
|
+
}
|
|
36
|
+
export declare const $ZodCheckMaxLength: $constructor<$ZodCheckMaxLength>;
|
|
37
|
+
export interface $ZodCheckMinLengthDef extends $ZodCheckDef {
|
|
38
|
+
check: "min_length";
|
|
39
|
+
minimum: number;
|
|
40
|
+
}
|
|
41
|
+
export interface $ZodCheckMinLengthInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
42
|
+
def: $ZodCheckMinLengthDef;
|
|
43
|
+
issc: $ZodIssueTooSmall<T>;
|
|
44
|
+
}
|
|
45
|
+
export interface $ZodCheckMinLength<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
46
|
+
_zod: $ZodCheckMinLengthInternals<T>;
|
|
47
|
+
}
|
|
48
|
+
export declare const $ZodCheckMinLength: $constructor<$ZodCheckMinLength>;
|
|
49
|
+
export interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {
|
|
50
|
+
check: "length_equals";
|
|
51
|
+
length: number;
|
|
52
|
+
}
|
|
53
|
+
export interface $ZodCheckLengthEqualsInternals<T extends HasLength = HasLength> extends $ZodCheckInternals<T> {
|
|
54
|
+
def: $ZodCheckLengthEqualsDef;
|
|
55
|
+
issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
|
|
56
|
+
}
|
|
57
|
+
export interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodCheck<T> {
|
|
58
|
+
_zod: $ZodCheckLengthEqualsInternals<T>;
|
|
59
|
+
}
|
|
60
|
+
export declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
|
|
61
|
+
export type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "credit_card" | "iban" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
|
|
62
|
+
//#endregion
|
|
63
|
+
//# sourceMappingURL=checks.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checks.d.mts","names":["errors.$ZodErrorMap","schemas.ParsePayload","errors.$ZodIssueBase","util.MaybeAsync","schemas.$ZodType","core.$constructor","util.HasLength","errors.$ZodIssueTooBig","errors.$ZodIssueTooSmall"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/checks.d.cts"],"ignoreList":[0],"mappings":";;;;;iBAIiB;EACb;EACA,QAAQA;;EAER;;EAEA,SAAS,SAASC;;iBAEL,mBAAmB;EAChC,KAAK;;EAEL,OAAOC;EACP,MAAM,SAASD,aAAqB,KAAKE;EACzC,YAAY,QAAQC;;iBAEP,aAAa;EAC1B,MAAM,mBAAmB;;qBAER,WAAWC,aAAkB;iBAqGjC,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAMC,gBAAuB;;iBAEhB,mBAAmB,UAAUD,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,8BAA8B;EAC3C;EACA;;iBAEa,4BAA4B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAC/G,KAAK;EACL,MAAME,kBAAyB;;iBAElB,mBAAmB,UAAUF,YAAiBA,mBAAwB,UAAU;EAC7F,MAAM,4BAA4B;;qBAEjB,oBAAoBD,aAAkB;iBAC1C,iCAAiC;EAC9C;EACA;;iBAEa,+BAA+B,UAAUC,YAAiBA,mBAAwB,mBAAmB;EAClH,KAAK;EACL,MAAMC,gBAAuB,KAAKC,kBAAyB;;iBAE9C,sBAAsB,UAAUF,YAAiBA,mBAAwB,UAAU;EAChG,MAAM,+BAA+B;;qBAEpB,uBAAuBD,aAAkB;YAClD"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Class, ProtoOf } from "./util.mjs";
|
|
2
|
+
import { SomeType } from "./schemas.mjs";
|
|
3
|
+
//#region ../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.cts
|
|
4
|
+
type ZodTrait = {
|
|
5
|
+
_zod: {
|
|
6
|
+
def: any;
|
|
7
|
+
[k: string]: any;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
|
|
11
|
+
new (def: D): T;
|
|
12
|
+
init(inst: T, def: D): asserts inst is T;
|
|
13
|
+
}
|
|
14
|
+
export interface $constructorParams {
|
|
15
|
+
Parent?: typeof Class;
|
|
16
|
+
}
|
|
17
|
+
export declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void,
|
|
18
|
+
/** This trait's members, installed once on every prototype that composes it. They cannot be declared in the initializer above: that runs per instance, and the prototype is shared. */
|
|
19
|
+
proto?: ProtoOf<T>, params?: $constructorParams): $constructor<T, D>;
|
|
20
|
+
export declare const $brand: unique symbol;
|
|
21
|
+
export type $brand<T extends string | number | symbol = string | number | symbol> = {
|
|
22
|
+
[$brand]: { [k in T]: true; };
|
|
23
|
+
};
|
|
24
|
+
export type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
|
|
25
|
+
_zod: {
|
|
26
|
+
input: input<T> & $brand<Brand>;
|
|
27
|
+
output: output<T> & $brand<Brand>;
|
|
28
|
+
};
|
|
29
|
+
} : Dir extends "in" ? {
|
|
30
|
+
_zod: {
|
|
31
|
+
input: input<T> & $brand<Brand>;
|
|
32
|
+
};
|
|
33
|
+
} : {
|
|
34
|
+
_zod: {
|
|
35
|
+
output: output<T> & $brand<Brand>;
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
export type input<T> = T extends {
|
|
39
|
+
_zod: {
|
|
40
|
+
input: any;
|
|
41
|
+
};
|
|
42
|
+
} ? T["_zod"]["input"] : unknown;
|
|
43
|
+
export type output<T> = T extends {
|
|
44
|
+
_zod: {
|
|
45
|
+
output: any;
|
|
46
|
+
};
|
|
47
|
+
} ? T["_zod"]["output"] : unknown;
|
|
48
|
+
//#endregion
|
|
49
|
+
export type { output as infer };
|
|
50
|
+
//# sourceMappingURL=core.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.d.mts","names":["schemas.SomeType"],"sources":["../../../../../../../../../../../node_modules/.pnpm/zod@4.6.6/node_modules/zod/v4/core/core.d.cts"],"ignoreList":[0],"mappings":";;;KAGK;EACD;IACI;KACC;;;iBAGQ,aAAa,UAAU,UAAU,IAAI;OAC7C,KAAK,IAAI;EACd,KAAK,MAAM,GAAG,KAAK,YAAY,QAAQ;;iBAE1B;EACb,gBAAgB;;wBAII,aAAa,UAAU,UAAU,IAAI,kBAAkB,cAAc,cAAc,MAAM,GAAG,KAAK;;AAEzH,QAAQ,QAAQ,IAAI,SAAS,qBAAqB,aAAa,GAAG;qBAC7C;YACT,OAAO;GACd,YACI,KAAK;;YAGF,YAAY,UAAUA,UAAkB,wCAAwC,8CAA8C,KAAK;EAC3I;IACI,OAAO,MAAM,KAAK,OAAO;IACzB,QAAQ,OAAO,KAAK,OAAO;;IAE/B;EACA;IACI,OAAO,MAAM,KAAK,OAAO;;;EAG7B;IACI,QAAQ,OAAO,KAAK,OAAO;;;YAcvB,MAAM,KAAK;EACnB;IACI;;IAEJ;YACQ,OAAO,KAAK;EACpB;IACI;;IAEJ"}
|